|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ckkloverdos.source.SourceSkeleton
org.ckkloverdos.source.FileSource
public class FileSource
A File- based source implementation.
constructor with a
SourceTypeRegistry, the registry is used to obtain the
SourceType from the file's extension.
| Field Summary |
|---|
| Fields inherited from class org.ckkloverdos.source.SourceSkeleton |
|---|
is, name, type, valid |
| Constructor Summary | |
|---|---|
FileSource(java.io.File file,
SourceType type)
|
|
FileSource(java.io.File file,
SourceTypeRegistry r)
|
|
| Method Summary |
|---|
| Methods inherited from class org.ckkloverdos.source.SourceSkeleton |
|---|
getDescription, getInputStream, getName, getReader, getReader, getString, getString, getType, isText, isValid, setInputStream, setName, setType, setValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileSource(java.io.File file,
SourceTypeRegistry r)
throws java.io.IOException
java.io.IOException
public FileSource(java.io.File file,
SourceType type)
throws java.io.FileNotFoundException
java.io.FileNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||