|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.archive.util.ms.Doc
public class Doc
Reads .doc files.
Method Summary | |
---|---|
static SeekReader |
getText(BlockFileSystem wordDoc,
int cacheSize)
Returns the text for the given .doc file. |
static SeekReader |
getText(java.io.File doc)
Returns the text of the given .doc file. |
static SeekReader |
getText(SeekInputStream doc)
Returns the text of the given .doc file. |
static SeekReader |
getText(java.lang.String docFilename)
Returns the text of the .doc file with the given file name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SeekReader getText(java.lang.String docFilename) throws java.io.IOException
docFilename
- the name of the file whose text to return
java.io.IOException
- if an IO error occurspublic static SeekReader getText(java.io.File doc) throws java.io.IOException
doc
- the .doc file whose text to return
java.io.IOException
- if an IO error occurspublic static SeekReader getText(SeekInputStream doc) throws java.io.IOException
doc
- the .doc file whose text to return
java.io.IOException
- if an IO error occurspublic static SeekReader getText(BlockFileSystem wordDoc, int cacheSize) throws java.io.IOException
wordDoc
- the .doc file as a BlockFileSystemcacheSize
- the number of piece table entries to cache
java.io.IOException
- if an IO error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |