File
Doc
Category
Size
Date
Package
FileConnection.java
API Doc
phoneME MR2 API (J2ME)
4151
Wed May 02 18:00:28 BST 2007
javax.microedition.io.file
FileConnection
public interface FileConnection implements javax.microedition.io.StreamConnection
This class is defined by the JSR-75 specification
PDA Optional Packages for the J2ME™ Platform
Fields Summary
Constructors Summary
Methods Summary
public
long
availableSize
()
public
boolean
canRead
()
public
boolean
canWrite
()
public void
create
()
public void
delete
()
public
long
directorySize
(
boolean
includeSubDirs)
public abstract
boolean
exists
()
public
long
fileSize
()
public
java.lang.String
getName
()
public
java.lang.String
getPath
()
public
java.lang.String
getURL
()
public
boolean
isDirectory
()
public
boolean
isHidden
()
public
boolean
isOpen
()
public
long
lastModified
()
public
java.util.Enumeration
list
()
public
java.util.Enumeration
list
(
java.lang.String
filter,
boolean
includeHidden)
public void
mkdir
()
public
java.io.DataInputStream
openDataInputStream
()
public
java.io.DataOutputStream
openDataOutputStream
()
public
java.io.InputStream
openInputStream
()
public
java.io.OutputStream
openOutputStream
()
public
java.io.OutputStream
openOutputStream
(
long
byteOffset)
public abstract void
rename
(
java.lang.String
newName)
public abstract void
setFileConnection
(
java.lang.String
fileName)
public void
setHidden
(
boolean
hidden)
public void
setReadable
(
boolean
readable)
public void
setWritable
(
boolean
writable)
public
long
totalSize
()
public abstract void
truncate
(
long
byteOffset)
public
long
usedSize
()
Java Code Source