edu.mit.csail.aeolus.api
Class AeolusFilestreamInfo

java.lang.Object
  extended by edu.mit.csail.aeolus.api.AeolusFilestreamInfo

public class AeolusFilestreamInfo
extends java.lang.Object

Stores information about a filestream - file system name - file path - file name - open mode (read, write, read/write) - handle - opened/closed state viq


Constructor Summary
AeolusFilestreamInfo(java.lang.String myFilePath, AeolusFilestreamMode myMode, boolean opened)
          Constructor
 
Method Summary
 int getAssignedHandle()
          Returns the assigned handle number
 java.lang.String getFilePath()
          Returns the file path
 AeolusFilestreamMode getMode()
          Returns the filestream mode
 boolean isOpened()
          Returns true if filestream is opened
 void setAssignedHande(int value)
          Sets the assigned handle number
 void setClosed()
          Sets filestream state to closed
 void setOpened()
          Sets filestream state to open
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AeolusFilestreamInfo

public AeolusFilestreamInfo(java.lang.String myFilePath,
                            AeolusFilestreamMode myMode,
                            boolean opened)
Constructor

Parameters:
myFilePath - - file path
myMode - - filestream mode
opened - - opened/closed state
Method Detail

getAssignedHandle

public int getAssignedHandle()
Returns the assigned handle number

Returns:
assigned handle

getFilePath

public java.lang.String getFilePath()
Returns the file path

Returns:
file path

getMode

public AeolusFilestreamMode getMode()
Returns the filestream mode

Returns:
filestream mode

isOpened

public boolean isOpened()
Returns true if filestream is opened

Returns:
true if FS opened

setAssignedHande

public void setAssignedHande(int value)
Sets the assigned handle number

Parameters:
value - - assigned handle value

setClosed

public void setClosed()
Sets filestream state to closed


setOpened

public void setOpened()
Sets filestream state to open