com.atlassian.confluence.util
Class Resource
java.lang.Object
com.atlassian.confluence.util.Resource
- All Implemented Interfaces:
- java.io.Serializable
public class Resource
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Resource
public Resource()
getKey
public java.lang.String getKey()
setKey
public void setKey(java.lang.String key)
getFile
public java.io.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(java.io.File file)
- Deprecated. As of Confluence 1.4 RC 1 this is deprecated. It is now
replaced by relatePathToFile calls.
getRelativePathToFile
public java.lang.String getRelativePathToFile()
setRelativePathToFile
public void setRelativePathToFile(java.lang.String relativePathToFile)
getContentTypePrefix
public java.lang.String getContentTypePrefix()
setContentTypePrefix
public void setContentTypePrefix(java.lang.String contentTypePrefix)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.