org.eclipse.swordfish.registry
Class PolicyResource
java.lang.Object
org.eclipse.swordfish.registry.DefaultResource
org.eclipse.swordfish.registry.PolicyResource
- All Implemented Interfaces:
- Resource
public class PolicyResource
- extends DefaultResource
- implements Resource
|
Constructor Summary |
PolicyResource(java.lang.String id,
java.lang.String content)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyResource
public PolicyResource(java.lang.String id,
java.lang.String content)
getCharacterEncoding
public java.lang.String getCharacterEncoding()
- Specified by:
getCharacterEncoding in interface Resource- Overrides:
getCharacterEncoding in class DefaultResource
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in interface Resource- Overrides:
getContentType in class DefaultResource
getId
public java.lang.String getId()
- Overrides:
getId in class DefaultResource
appendContent
public void appendContent(java.io.Writer writer)
throws java.io.IOException
- Specified by:
appendContent in interface Resource- Overrides:
appendContent in class DefaultResource
- Throws:
java.io.IOException