com.crystaldecisions.sdk.occa.infostore
Interface ILocalFile

All Superinterfaces:
IFile

public interface ILocalFile
extends IFile

This interface represents a local file object.

This interface is typically obtained as the result of the IFiles.addFile or IFile.addUniqueFile operations.


Method Summary
 java.io.File getFile()
           Returns the file object that represents this local file.
 java.io.InputStream getInputStream()
           Returns the input stream for this local file.
 java.lang.String getLocalFile()
           Returns the local file name.
 java.io.OutputStream getOutputStream()
           Returns the output stream for this local file.
 
Methods inherited from interface com.crystaldecisions.sdk.occa.infostore.IFile
abort, commit, getActualName, getDestRelativePath, getName, getSize
 

Method Detail

getLocalFile

java.lang.String getLocalFile()

Returns the local file name.

Returns:
A String containing the local file name.

getFile

java.io.File getFile()

Returns the file object that represents this local file.

Returns:
A File object that represents this local file.

getOutputStream

java.io.OutputStream getOutputStream()
                                     throws java.io.IOException

Returns the output stream for this local file.

Returns:
An OutputStream for this local file.
Throws:
java.io.IOException - This is thrown if there is an error getting the output stream.

getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException

Returns the input stream for this local file.

Returns:
An InputStream for this local file.
Throws:
java.io.IOException - This is thrown if there is an error getting the input stream.