Method Summary |
|
public void | closeContentsOutputStream() Close any opened OutputStream on the contents of the managed resource. |
public void | closeContentsOutputStream(String sContentType) |
public void | createBinding(URL destURL) |
public void | createBinding(String bindName, URL source) |
public void | createCollection(String localName) Create a collection with the given local name by creating a
directory with the local name. |
public void | createLockNullResource() Create this resource as a lock-null resource, a resource created by locking one that
did not previously exist. |
public void | delete() Delete the managed resource from the repository. |
public boolean | exists() See if this resource exists in the repository. |
public List | getAllowedMethods() |
public String | getContentType() |
public InputStream | getContentsInputStream() Open an InputStream on the contents of the managed resource. |
public OutputStream | getContentsOutputStream() Open an OutputStream in order to write the contents of the managed resource. |
public Vector | getMembers() Get the members of a collection. |
public String | getParentName() Get the name of the collection (directory) containing this resource (file). |
public static String | guessAtContentTypeForName(String fn) Guess at the mimetype of a file based on it's filename extention. |
public void | initialize(ResourceImpl resource) Initialize this NamesapceManager on a given resource. |
public boolean | isCollection() |
public boolean | isLockNull() Is this resource in the lock-null state? In this implementation, does
this resource have a properties file, but no contents file. |
public boolean | isVersionable() |
public void | move(String path) Move the managed resource. |
public byte[] | performWith(String args) Treat the managed resource as a method and execute it with the given arguments.
Ths should be done by the host Web server. |
public void | setOrdering(Document orderPatch) |