Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

plp.presentation.fileclient
Class RegularFile  view RegularFile download RegularFile.java

java.lang.Object
  extended byplp.presentation.fileclient.EpocFile
      extended byplp.presentation.fileclient.RegularFile
All Implemented Interfaces:
java.io.Serializable

public class RegularFile
extends EpocFile


Field Summary
private  java.lang.Integer handle
           
 
Fields inherited from class plp.presentation.fileclient.EpocFile
 
Constructor Summary
(package private) RegularFile()
           
(package private) RegularFile(FileClientImpl client, java.lang.String fileName)
           
(package private) RegularFile(FileClientImpl client, java.lang.String fileName, boolean create)
           
 
Method Summary
 void close()
           
 void create()
           
 java.lang.Integer getHandle()
           
 boolean isDirectory()
           
 boolean isOpened()
           
 void open()
           
 java.io.InputStream openInputStream()
           
 java.io.OutputStream openOutputStream()
           
private  void setHandle(java.lang.Integer handle)
           
 
Methods inherited from class plp.presentation.fileclient.EpocFile
getAttributes, getFileClient, getMimeType, getName, getShortName, getSize, getUid1, getUid2, getUid3, setAttributes, setFileClient, setMimeType, setModified, setName, setShortName, setSize, setUid1, setUid2, setUid3
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handle

private java.lang.Integer handle
Constructor Detail

RegularFile

RegularFile()

RegularFile

RegularFile(FileClientImpl client,
            java.lang.String fileName)
      throws java.io.IOException

RegularFile

RegularFile(FileClientImpl client,
            java.lang.String fileName,
            boolean create)
      throws java.io.IOException
Method Detail

open

public void open()
          throws java.io.IOException

create

public void create()
            throws java.io.IOException

setHandle

private void setHandle(java.lang.Integer handle)

getHandle

public java.lang.Integer getHandle()

openInputStream

public java.io.InputStream openInputStream()
                                    throws java.io.IOException

openOutputStream

public java.io.OutputStream openOutputStream()
                                      throws java.io.IOException

isOpened

public boolean isOpened()

close

public void close()

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in class EpocFile