com.atlassian.confluence.util
Class Resource
java.lang.Object
com.atlassian.confluence.util.Resource
- All Implemented Interfaces:
- Serializable
- public class Resource
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Resource
public Resource()
getKey
public String getKey()
setKey
public void setKey(String key)
getFile
public File getFile()
- Deprecated. As of Confluence 1.4 RC 1 this is deprecated. It is now
replaced by relatePathToFile calls.
- Returns:
- file reference to resource on the filesystem
setFile
public void setFile(File file)
- Deprecated. As of Confluence 1.4 RC 1 this is deprecated. It is now
replaced by relatePathToFile calls.
getRelativePathToFile
public String getRelativePathToFile()
setRelativePathToFile
public void setRelativePathToFile(String relativePathToFile)
getContentTypePrefix
public String getContentTypePrefix()
setContentTypePrefix
public void setContentTypePrefix(String contentTypePrefix)
equals
public boolean equals(Object o)
hashCode
public int hashCode()