com.esri.arcgis.system
Interface IBlobStream

All Superinterfaces:
ISequentialStream, IStream, Serializable
All Known Subinterfaces:
IMemoryBlobStream, IMemoryBlobStream2
All Known Implementing Classes:
FileStream, MemoryBlobStream

public interface IBlobStream
extends IStream, Serializable

Provides access to members that control a Blob Stream.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux


Method Summary
 int getSize()
          The size of the stream.
 void loadFromFile(String fileName)
          Loads a stream from the specified file.
 void saveToFile(String fileName)
          Saves the stream to the specified file.
 void setSize(int size)
          The size of the stream.
 
Methods inherited from interface com.esri.arcgis.system.IStream
commit, esri_clone, lockRegion, remoteCopyTo, remoteSeek, revert, setSize, stat, unlockRegion
 
Methods inherited from interface com.esri.arcgis.system.ISequentialStream
remoteRead, remoteWrite
 

Method Detail

getSize

int getSize()
            throws IOException,
                   AutomationException
The size of the stream.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The size
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSize

void setSize(int size)
             throws IOException,
                    AutomationException
The size of the stream.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
size - The size (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveToFile

void saveToFile(String fileName)
                throws IOException,
                       AutomationException
Saves the stream to the specified file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
fileName - The fileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromFile

void loadFromFile(String fileName)
                  throws IOException,
                         AutomationException
Loads a stream from the specified file.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
fileName - The fileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.