org.gcube.application.aquamaps.publisher.impl.model
Class File
java.lang.Object
org.gcube.application.aquamaps.publisher.impl.model.File
public class File
- extends Object
File
public File(FileType type,
String originalUri,
String name)
toString
public String toString()
- Overrides:
toString in class Object
getType
public FileType getType()
setType
public void setType(FileType type)
getOriginalUri
public String getOriginalUri()
getName
public String getName()
setName
public void setName(String name)
getStoredUri
public String getStoredUri()
- Returns:
- the storedUri
publish
protected void publish(String baseDir,
boolean deleteIfExists)
throws Exception
- Throws:
Exception
unpublish
protected void unpublish()
throws Exception
- Throws:
Exception
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2013. All Rights Reserved.