|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nutiteq.fs.MotoFileSystem
public class MotoFileSystem
File reading using Motorola (not IDEN) file API.
| Constructor Summary | |
|---|---|
MotoFileSystem()
|
|
| 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 MotoFileSystem()
| Method Detail |
|---|
public java.util.Vector getRoots()
throws java.io.IOException
getRoots in interface FileSystemjava.io.IOExceptionFileSystem.getRoots()public boolean isDirectory(java.lang.String filename)
isDirectory in interface FileSystemfilename - file to check
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.IOException
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 occurs
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 | ||||||||