|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nutiteq.fs.JSR75FileSystem
public class JSR75FileSystem
This class includes implementation for reading files using JSR-75.
| Constructor Summary | |
|---|---|
JSR75FileSystem()
|
|
| Method Summary | |
|---|---|
java.util.Vector |
getRoots()
List all roots in the filesystem |
boolean |
isDirectory(java.lang.String filename)
Check if a file is a directory |
java.util.Vector |
listFiles(java.lang.String path)
List all files in a directory. |
FileSystemConnection |
openConnectionToFile(java.lang.String fileName)
|
byte[] |
readFile(java.lang.String filename)
Read a file using JSR-75 API. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSR75FileSystem()
| Method Detail |
|---|
public byte[] readFile(java.lang.String filename)
throws java.io.IOException
readFile in interface FileSystemfilename - fully-qualified file path following "file:///" qualifier
java.io.IOException - if an exception occurspublic java.util.Vector getRoots()
getRoots in interface FileSystemFileSystem.getRoots()
public java.util.Vector listFiles(java.lang.String path)
throws java.io.IOException
listFiles in interface FileSystempath - path to list, null to list root
java.io.IOExceptionpublic boolean isDirectory(java.lang.String filename)
isDirectory in interface FileSystemfilename - file to check
public FileSystemConnection openConnectionToFile(java.lang.String fileName)
throws java.io.IOException
openConnectionToFile in interface FileSystemjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||