Class EnvelopedResourceFile
java.lang.Object
org.archive.resource.producer.EnvelopedResourceFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGZResourceProducer(File file) getGZResourceProducer(File file, long offset) getGZResourceProducer(URL url) getGZResourceProducer(URL url, long offset) getGZResourceProducer(URL url, String name) getGZResourceProducer(URL url, String name, long offset) getGZResourceProducer(org.apache.hadoop.fs.FSDataInputStream fsdis, String name) getGZResourceProducer(org.apache.hadoop.fs.FSDataInputStream fsdis, String name, long offset) getResourceProducer(File file) getResourceProducer(File file, long offset) getResourceProducer(URL url) getResourceProducer(URL url, long offset) getResourceProducer(URL url, String name) getResourceProducer(URL url, String name, long offset) getResourceProducer(org.apache.hadoop.fs.FSDataInputStream fsdis, String name) getResourceProducer(org.apache.hadoop.fs.FSDataInputStream fsdis, String name, long offset) longbooleanisStrict()voidsetStartOffset(long startOffset) voidsetStrict(boolean strict)
-
Constructor Details
-
EnvelopedResourceFile
-
-
Method Details
-
getResourceProducer
- Throws:
IOException
-
getResourceProducer
- Throws:
IOException
-
getGZResourceProducer
- Throws:
IOException
-
getGZResourceProducer
- Throws:
IOException
-
getGZResourceProducer
public ResourceProducer getGZResourceProducer(org.apache.hadoop.fs.FSDataInputStream fsdis, String name) throws IOException - Throws:
IOException
-
getGZResourceProducer
public ResourceProducer getGZResourceProducer(org.apache.hadoop.fs.FSDataInputStream fsdis, String name, long offset) throws IOException - Throws:
IOException
-
getResourceProducer
public ResourceProducer getResourceProducer(org.apache.hadoop.fs.FSDataInputStream fsdis, String name) throws IOException - Throws:
IOException
-
getResourceProducer
public ResourceProducer getResourceProducer(org.apache.hadoop.fs.FSDataInputStream fsdis, String name, long offset) throws IOException - Throws:
IOException
-
getResourceProducer
- Throws:
IOException
-
getResourceProducer
- Throws:
IOException
-
getResourceProducer
- Throws:
IOException
-
getResourceProducer
- Throws:
IOException
-
getGZResourceProducer
- Throws:
IOException
-
getGZResourceProducer
- Throws:
IOException
-
getGZResourceProducer
- Throws:
IOException
-
getGZResourceProducer
- Throws:
IOException
-
isStrict
public boolean isStrict()- Returns:
- the strict
-
setStrict
public void setStrict(boolean strict) - Parameters:
strict- the strict to set
-
getStartOffset
public long getStartOffset()- Returns:
- the startOffset
-
setStartOffset
public void setStartOffset(long startOffset) - Parameters:
startOffset- the startOffset to set
-