public interface IReader
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Entry> |
findAll(org.eclipse.core.resources.IFile file,
java.lang.String regex)
This method can be used by realizations of this interface to provide the
functionality needed to find all occurrences of a String regular
expression in a file with the given URI and return a list of Entries
representing those occurrences.
|
java.lang.String |
getReaderType()
This method is used by the IOService to store unique references of
IReaders.
|
Form |
read(org.eclipse.core.resources.IFile file)
Return a Form representation of the input file with given URI.
|
Form read(org.eclipse.core.resources.IFile file)
file
- The file to be read.java.util.ArrayList<Entry> findAll(org.eclipse.core.resources.IFile file, java.lang.String regex)
file
- The file to searchregex
- The regular expression to search.java.lang.String getReaderType()