public class Doc extends Object
Modifier and Type | Method and Description |
---|---|
static org.archive.io.SeekReader |
getText(BlockFileSystem wordDoc,
int cacheSize)
Returns the text for the given .doc file.
|
static org.archive.io.SeekReader |
getText(File doc)
Returns the text of the given .doc file.
|
static org.archive.io.SeekReader |
getText(org.archive.io.SeekInputStream doc)
Returns the text of the given .doc file.
|
static org.archive.io.SeekReader |
getText(String docFilename)
Returns the text of the .doc file with the given file name.
|
public static org.archive.io.SeekReader getText(String docFilename) throws IOException
docFilename
- the name of the file whose text to returnIOException
- if an IO error occurspublic static org.archive.io.SeekReader getText(File doc) throws IOException
doc
- the .doc file whose text to returnIOException
- if an IO error occurspublic static org.archive.io.SeekReader getText(org.archive.io.SeekInputStream doc) throws IOException
doc
- the .doc file whose text to returnIOException
- if an IO error occurspublic static org.archive.io.SeekReader getText(BlockFileSystem wordDoc, int cacheSize) throws IOException
wordDoc
- the .doc file as a BlockFileSystemcacheSize
- the number of piece table entries to cacheIOException
- if an IO error occursCopyright © 2003-2014 Internet Archive. All Rights Reserved.