public class FileResponse extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
FILE_NOT_FOUND |
static long |
FILE_NOT_MODIFIED |
Constructor and Description |
---|
FileResponse(Path path,
long size,
long lastModifiedTime,
boolean folder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getLastModifiedTime() |
Path |
getLocalFile() |
Path |
getPath() |
long |
getSize() |
int |
hashCode() |
boolean |
isFileNotFound() |
boolean |
isFileNotModified() |
boolean |
isFolder() |
void |
setLocalFile(Path localFile) |
String |
toString() |
public static final long FILE_NOT_FOUND
public static final long FILE_NOT_MODIFIED
public FileResponse(Path path, long size, long lastModifiedTime, boolean folder)
public long getLastModifiedTime()
public Path getLocalFile()
public Path getPath()
public long getSize()
public boolean isFileNotFound()
public boolean isFileNotModified()
public boolean isFolder()
public void setLocalFile(Path localFile)