FileDocCategorySizeDatePackage
FileConnection.javaAPI DocphoneME MR2 API (J2ME)4151Wed May 02 18:00:28 BST 2007javax.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 longavailableSize()

public booleancanRead()

public booleancanWrite()

public voidcreate()

public voiddelete()

public longdirectorySize(boolean includeSubDirs)

public abstract booleanexists()

public longfileSize()

public java.lang.StringgetName()

public java.lang.StringgetPath()

public java.lang.StringgetURL()

public booleanisDirectory()

public booleanisHidden()

public booleanisOpen()

public longlastModified()

public java.util.Enumerationlist()

public java.util.Enumerationlist(java.lang.String filter, boolean includeHidden)

public voidmkdir()

public java.io.DataInputStreamopenDataInputStream()

public java.io.DataOutputStreamopenDataOutputStream()

public java.io.InputStreamopenInputStream()

public java.io.OutputStreamopenOutputStream()

public java.io.OutputStreamopenOutputStream(long byteOffset)

public abstract voidrename(java.lang.String newName)

public abstract voidsetFileConnection(java.lang.String fileName)

public voidsetHidden(boolean hidden)

public voidsetReadable(boolean readable)

public voidsetWritable(boolean writable)

public longtotalSize()

public abstract voidtruncate(long byteOffset)

public longusedSize()