com.atlassian.confluence.util
Class Resource

java.lang.Object
  extended bycom.atlassian.confluence.util.Resource
All Implemented Interfaces:
Serializable

public class Resource
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Resource()
           
 
Method Summary
 boolean equals(Object o)
           
 String getContentTypePrefix()
           
 File getFile()
          Deprecated. As of Confluence 1.4 RC 1 this is deprecated. It is now replaced by relatePathToFile calls.
 String getKey()
           
 String getRelativePathToFile()
           
 int hashCode()
           
 void setContentTypePrefix(String contentTypePrefix)
           
 void setFile(File file)
          Deprecated. As of Confluence 1.4 RC 1 this is deprecated. It is now replaced by relatePathToFile calls.
 void setKey(String key)
           
 void setRelativePathToFile(String relativePathToFile)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resource

public Resource()
Method Detail

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()


Confluence is developed by Atlassian.