Class AbstractResource
java.lang.Object
org.archive.resource.AbstractResource
- All Implemented Interfaces:
Resource
- Direct Known Subclasses:
AbstractEmptyResource,ARCResource,GenericStreamResource,GZIPResource,HTTPRequestResource,HTTPResponseResource,WARCResource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddump(PrintStream out, Resource resource) static voiddumpShort(PrintStream out, Resource resource) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.archive.resource.Resource
getInputStream
-
Field Details
-
container
-
metaData
-
-
Constructor Details
-
AbstractResource
-
-
Method Details
-
getContainer
- Specified by:
getContainerin interfaceResource- Returns:
- the ResourceContainer holding this Resource
-
getMetaData
- Specified by:
getMetaDatain interfaceResource- Returns:
- the MetaData associated with this Resource
-
dump
- Throws:
IOException
-
dumpShort
- Throws:
IOException
-