|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javatools.datatypes.PeekIterator<java.util.regex.MatchResult> javatools.filehandlers.MatchReader javatools.filehandlers.ByteMatchReader
public class ByteMatchReader
This class is part of the Java Tools (see http://mpii.de/yago-naga/javatools). It is licensed under the Creative Commons Attribution License (see http://creativecommons.org/licenses/by/3.0) by the YAGO-NAGA team (see http://mpii.de/yago-naga). Does the same as the MatchReader (see there), but deals with bytes instead of Chars (see SimpleInputStreamReader).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javatools.filehandlers.MatchReader |
---|
MatchReader.MyMatchResult |
Nested classes/interfaces inherited from class javatools.datatypes.PeekIterator |
---|
PeekIterator.ElementaryPeekIterator<T>, PeekIterator.SimplePeekIterator<T> |
Field Summary |
---|
Fields inherited from class javatools.filehandlers.MatchReader |
---|
BUFSIZE, MAXPATTERNLENGTH, QUOTE |
Fields inherited from class javatools.datatypes.PeekIterator |
---|
closed, initialized, next |
Constructor Summary | |
---|---|
ByteMatchReader(java.io.File f,
java.util.regex.Pattern p)
Constructs a MatchReader that reads from a file |
|
ByteMatchReader(java.io.File f,
java.util.regex.Pattern p,
java.lang.String announceMsg)
Constructs a MatchReader that reads from a file, with progress message (main constructor) |
|
ByteMatchReader(java.io.File f,
java.lang.String p)
Constructs a MatchReader that reads from a file |
|
ByteMatchReader(java.io.File f,
java.lang.String p,
java.lang.String announceMsg)
Constructs a MatchReader that reads from a file, with progress message |
|
ByteMatchReader(java.io.InputStream i,
java.util.regex.Pattern p)
Constructs a MatchReader from a Reader and a Pattern |
|
ByteMatchReader(java.io.InputStream i,
java.lang.String p)
Constructs a MatchReader from a Reader and a Pattern |
|
ByteMatchReader(java.lang.String f,
java.util.regex.Pattern p)
Constructs a MatchReader that reads from a file |
|
ByteMatchReader(java.lang.String f,
java.util.regex.Pattern p,
java.lang.String announceMsg)
Constructs a MatchReader that reads from a file, with progress message |
|
ByteMatchReader(java.lang.String f,
java.lang.String p)
Constructs a MatchReader that reads from a file |
|
ByteMatchReader(java.lang.String f,
java.lang.String p,
java.lang.String announceMsg)
Constructs a MatchReader that reads from a file, with progress message |
Method Summary | |
---|---|
void |
close()
Closes the reader |
Methods inherited from class javatools.filehandlers.MatchReader |
---|
finalize, internalNext, main |
Methods inherited from class javatools.datatypes.PeekIterator |
---|
asList, asList, asSet, asSet, asSet, emptyIterator, hasNext, iterator, list, list, next, nextOrNull, numElements, numElements, peek, remove, toString, toString, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ByteMatchReader(java.io.InputStream i, java.util.regex.Pattern p)
public ByteMatchReader(java.io.InputStream i, java.lang.String p)
public ByteMatchReader(java.io.File f, java.util.regex.Pattern p, java.lang.String announceMsg) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public ByteMatchReader(java.lang.String f, java.util.regex.Pattern p, java.lang.String announceMsg) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public ByteMatchReader(java.lang.String f, java.lang.String p, java.lang.String announceMsg) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public ByteMatchReader(java.io.File f, java.lang.String p, java.lang.String announceMsg) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public ByteMatchReader(java.io.File f, java.lang.String p) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public ByteMatchReader(java.lang.String f, java.lang.String p) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public ByteMatchReader(java.lang.String f, java.util.regex.Pattern p) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public ByteMatchReader(java.io.File f, java.util.regex.Pattern p) throws java.io.FileNotFoundException
java.io.FileNotFoundException
Method Detail |
---|
public void close()
close
in interface java.io.Closeable
close
in class MatchReader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |