anvil.server
Class URLContainer.URLResource
java.lang.Object
|
+--anvil.parser.URLInputSource
|
+--anvil.server.URLContainer.URLResource
- All Implemented Interfaces:
- InputSource, Resource
- Enclosing class:
- URLContainer
- public static class URLContainer.URLResource
- extends URLInputSource
- implements Resource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLContainer.URLResource
public URLContainer.URLResource(java.net.URLConnection connection,
java.lang.String pathinfo)
getName
public java.lang.String getName()
- Specified by:
getName in interface Resource
getPathinfo
public java.lang.String getPathinfo()
- Specified by:
getPathinfo in interface Resource
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory in interface Resource
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in interface Resource
list
public Resource[] list()
throws java.io.IOException
- Specified by:
list in interface Resource
java.io.IOException
writeTo
public void writeTo(java.io.OutputStream output)
throws java.io.IOException
- Specified by:
writeTo in interface Resource
java.io.IOException