|
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.DiskFileWrapper
public class DiskFileWrapper
File wrapper implementation for files that are located on the local disk.
Field Summary | |
---|---|
private File |
file
|
Constructor Summary | |
---|---|
DiskFileWrapper(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 DiskFileWrapper(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 |