public class File extends Object
| Constructor and Description |
|---|
File(FileType type,
String originalUri,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName() |
String |
getOriginalUri() |
String |
getStoredUri() |
FileType |
getType() |
int |
hashCode() |
protected void |
publish(String baseDir,
boolean deleteIfExists) |
void |
setName(String name) |
void |
setType(FileType type) |
String |
toString() |
protected void |
unpublish() |
public FileType getType()
public void setType(FileType type)
public String getOriginalUri()
public String getName()
public void setName(String name)
public String getStoredUri()
protected void publish(String baseDir, boolean deleteIfExists) throws Exception
ExceptionCopyright © 2014. All Rights Reserved.