com.github.henkexbg.gallery.bean.GalleryDirectory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gallery-api Show documentation
Show all versions of gallery-api Show documentation
REST Webapp in Java for viewing a gallery of images and videos. Image rescaling as well as video transcoding is performed based on request parameters. No UI included. Purely API-based. Authentication via HTTP basic auth (per default). Supports different user roles.
package com.github.henkexbg.gallery.bean;
/**
* Simple POJO describing a gallery directory. This links together a public path with
* the actual directory on the file system.
*
* @author Henrik Bjerne
*
*/
public class GalleryDirectory {
private String name;
private GalleryFile image;
private String publicPath;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public GalleryFile getImage() {
return image;
}
public void setImage(GalleryFile image) {
this.image = image;
}
public String getPublicPath() {
return publicPath;
}
public void setPublicPath(String publicPath) {
this.publicPath = publicPath;
}
}