|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.importer.BaseFileWrapper
public class BaseFileWrapper
File wrapper implementation for files that are located on the BASE file system.
Field Summary | |
---|---|
private File |
file
|
Constructor Summary | |
---|---|
BaseFileWrapper(File file)
|
Method Summary | |
---|---|
String |
getCharacterSet()
Get the character set used in the file. |
InputStream |
getInputStream()
Get an input stream that reads data from the file. |
String |
getName()
Get the name of the file. |
long |
getSize()
Get the size of the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final File file
Constructor Detail |
---|
public BaseFileWrapper(File file)
Method Detail |
---|
public String getCharacterSet()
FileWrapper
getCharacterSet
in interface FileWrapper
public InputStream getInputStream() throws IOException
FileWrapper
getInputStream
in interface FileWrapper
IOException
public String getName()
FileWrapper
getName
in interface FileWrapper
public long getSize()
FileWrapper
getSize
in interface FileWrapper
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |