0,0 → 1,94 |
package ak.photoalbum.webapp; |
|
import java.io.File; |
|
public class IndexEntry |
{ |
private File file; |
private String path; |
private String title; |
private boolean isDir; |
private int width; |
private int height; |
|
public IndexEntry() |
{ |
} |
|
public IndexEntry(File file, String path, String title, boolean isDir, |
int width, int height) |
{ |
this.file = file; |
this.path = path; |
this.title = title; |
this.isDir = isDir; |
this.width = width; |
this.height = height; |
} |
|
public File getFile() |
{ |
return file; |
} |
|
public void setFile(File file) |
{ |
this.file = file; |
} |
|
public String getPath() |
{ |
return path; |
} |
|
public void setPath(String path) |
{ |
this.path = path; |
} |
|
public String getTitle() |
{ |
return title; |
} |
|
public void setTitle(String title) |
{ |
this.title = title; |
} |
|
public boolean getIsDir() |
{ |
return isDir; |
} |
|
public void setIsDir(boolean isDir) |
{ |
this.isDir = isDir; |
} |
|
public int getWidth() |
{ |
return width; |
} |
|
public void setWidth(int width) |
{ |
this.width = width; |
} |
|
public int getHeight() |
{ |
return height; |
} |
|
public void setHeight(int height) |
{ |
this.height = height; |
} |
|
public String toString() |
{ |
return super.toString() + ": " + file + " - " + path + " - " + title |
+ " " + width + "x" + height; |
} |
} |