org.eclipse.swordfish.registry
Class ListResource<T extends Definition>
java.lang.Object
org.eclipse.swordfish.registry.DefaultResource
org.eclipse.swordfish.registry.ListResource<T>
- All Implemented Interfaces:
- Resource
public class ListResource<T extends Definition>
- extends DefaultResource
- implements Resource
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListResource
public ListResource()
ListResource
public ListResource(java.util.Collection<T> resources)
ListResource
public ListResource(java.lang.Iterable<? extends T> resources)
getId
public java.lang.String getId()
- Overrides:
getId in class DefaultResource
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in interface Resource- Overrides:
getContentType in class DefaultResource
getCharacterEncoding
public java.lang.String getCharacterEncoding()
- Specified by:
getCharacterEncoding in interface Resource- Overrides:
getCharacterEncoding in class DefaultResource
get
public void get(java.io.Writer writer)
throws VerbNotSupportedException,
java.io.IOException
- Specified by:
get in interface Resource- Overrides:
get in class DefaultResource
- Throws:
VerbNotSupportedException
java.io.IOException
appendContent
@Deprecated
public void appendContent(java.io.Writer writer)
throws java.io.IOException
- Deprecated.
- Specified by:
appendContent in interface Resource- Overrides:
appendContent in class DefaultResource
- Throws:
java.io.IOException