Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.subsystems.files.core
Class SystemIFileProperties


java.lang.Object
  extended by 
org.eclipse.rse.subsystems.files.core.SystemIFileProperties

public class SystemIFileProperties
extends Object

Class that encapsulates ISeries IResource persistent properties.


Field Summary
protected   IResource _resource
           
 
Constructor Summary
SystemIFileProperties ( IResource file)
           
 
Method Summary
 boolean getBIDILogical ()
          Returns whether the file is stored in BIDI logical format.
 boolean getDirty ()
          Returns the temp file dirty persistent property value.
 long getDownloadFileTimeStamp ()
          Returns the timestamp of the Eclipse resource after download
  String getEditorProfileType ()
          Returns the editor profile persistent property value.
  String getEncoding ()
          Returns the source encoding persistent property value.
  IResource getFile ()
          Returns the file that this instance is associated with.
 boolean getHasSequenceNumbers ()
          Returns the sequence numbers flag persistent property value.
  String getLocalEncoding ()
          Gets the local encoding persistent property value.
 long getModificationStampAtExport ( String hostName, String destination)
           
protected   Object getParentSessionObject ( QualifiedName name)
          Returns the session property value of the given property.
protected  boolean getPropertyBoolean ( QualifiedName name)
          Returns the value of a boolean property.
protected  int getPropertyInteger ( QualifiedName name)
          Returns the value of an integer property.
protected  long getPropertyLong ( QualifiedName name)
          Returns the value of an integer property.
protected   String getPropertyString ( QualifiedName name)
          Returns the value of a string persistent or session property.
 boolean getReadOnly ()
          Returns the temp file readonly persistent property value.
 int getRecordLength ()
          Returns the remote file object session property value.
 int getRemoteCCSID ()
          Returns the CCSID persistent property value.
 boolean getRemoteFileMounted ()
          Returns whether the original file is marked as a mounted file
  Object getRemoteFileObject ()
          Returns the remote file object session property value.
  String getRemoteFilePath ()
          Returns the full file (member) path persistent property value.
  String getRemoteFileSubSystem ()
          Returns the sub-system name persistent property value.
 long getRemoteFileTimeStamp ()
          Returns the remote file time stamp persistent property value.
  String getResolvedMountedRemoteFileHost ()
          Returns the actual file (member) host persistent property value for a mounted file.
  String getResolvedMountedRemoteFilePath ()
          Returns the actual file (member) path persistent property value on the originating host.
protected   Object getSessionObject ( QualifiedName name)
          Returns the session property value of the given property.
  Object getTempCCSID ()
          Returns the remote file object session property value.
 boolean getUsedBinaryTransfer ()
          Returns the binary transfer flag persistent property value.
 boolean hasModificationStampAtExport ( String hostName, String destination)
           
 void setBIDILogical (boolean logical)
          Sets whether the file is stored in BIDI logical format.
 void setDirty (boolean bDirty)
          Sets the temp file dirty persistent property value.
 void setDownloadFileTimeStamp (long lTimeStamp)
          Sets the local file time stamp property value of download.
 void setEditorProfileType ( String strType)
          Sets the editor profile type persistent property value.
 void setEncoding ( String strEncoding)
          Sets the source encoding persistent property value.
 void setHasSequenceNumbers (boolean bSequenceNumbers)
          Sets the sequence numbers flag persistent property value.
 void setLocalEncoding ( String strLocalEncoding)
          Sets the local encoding persistent property value.
 void setModificationStampAtExport ( String hostName, String destination, long modificationStamp)
           
protected  void setParentSessionObject ( QualifiedName name, Object objValue)
          Sets the session property to the given object.
protected  void setPropertyBoolean ( QualifiedName name, boolean bValue)
          Sets a boolean property given a property name, and its value.
protected  void setPropertyInteger ( QualifiedName name, int iValue)
          Sets a boolean property given a property name, and its value.
protected  void setPropertyLong ( QualifiedName name, long lValue)
          Sets a boolean property given a property name, and its value.
protected  void setPropertyString ( QualifiedName name, String strValue)
          Sets a string property given a property name, and its value.
 void setReadOnly (boolean bReadOnly)
          Sets the temp file readonly persistent property value.
 void setRecordLength (int iRecordLength)
          Sets the record length persistent property value.
 void setRemoteCCSID (int iCCSID)
          Sets the codepage source encoding such as "Cp937" persistent property value.
 void setRemoteFileMounted (boolean bMounted)
          Sets the remote file mounted indicator property value
 void setRemoteFileObject ( Object object)
          Sets the remote system member path persistent property value.
 void setRemoteFilePath ( String strPath)
          Sets the remote system file (member) path persistent property value.
 void setRemoteFileSubSystem ( String strSubSystem)
          Sets the sub system name persistent property value.
 void setRemoteFileTimeStamp (long lTimeStamp)
          Sets the remote file time stamp persistent property value.
 void setResolvedMountedRemoteFileHost ( String strHost)
          Sets the actual remote system file (member) path persistent property value on the originating host.
 void setResolvedMountedRemoteFilePath ( String strPath)
          Sets the actual remote system file (member) path persistent property value on the originating host.
protected  void setSessionObject ( QualifiedName name, Object objValue)
          Sets the session property to the given object.
 void setTempCCSID ( Object object)
          Sets the remote system member path persistent property value.
 void setUsedBinaryTransfer (boolean bBinaryTransfer)
          Sets the binary transfer flag persistent property value.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_resource

protected 
IResource _resource
Constructor Detail

SystemIFileProperties

public SystemIFileProperties(
IResource file)
Method Detail

getDirty

public boolean getDirty()
Returns the temp file dirty persistent property value.


getReadOnly

public boolean getReadOnly()
Returns the temp file readonly persistent property value.


getRemoteFileMounted

public boolean getRemoteFileMounted()
Returns whether the original file is marked as a mounted file


getEditorProfileType

public 
String getEditorProfileType()
Returns the editor profile persistent property value.


getEncoding

public 
String getEncoding()
Returns the source encoding persistent property value.


getLocalEncoding

public 
String getLocalEncoding()
Gets the local encoding persistent property value.

Returns:
the local encoding.

getFile

public 
IResource getFile()
Returns the file that this instance is associated with.


getHasSequenceNumbers

public boolean getHasSequenceNumbers()
Returns the sequence numbers flag persistent property value.


getParentSessionObject

protected 
Object getParentSessionObject(
QualifiedName name)
Returns the session property value of the given property.


getPropertyBoolean

protected boolean getPropertyBoolean(
QualifiedName name)
Returns the value of a boolean property.


getPropertyInteger

protected int getPropertyInteger(
QualifiedName name)
Returns the value of an integer property.


getPropertyLong

protected long getPropertyLong(
QualifiedName name)
Returns the value of an integer property.


getPropertyString

protected 
String getPropertyString(
QualifiedName name)
Returns the value of a string persistent or session property.


getRecordLength

public int getRecordLength()
Returns the remote file object session property value.


getRemoteCCSID

public int getRemoteCCSID()
Returns the CCSID persistent property value.


getRemoteFileObject

public 
Object getRemoteFileObject()
Returns the remote file object session property value.


getTempCCSID

public 
Object getTempCCSID()
Returns the remote file object session property value.


getResolvedMountedRemoteFilePath

public 
String getResolvedMountedRemoteFilePath()
Returns the actual file (member) path persistent property value on the originating host.


getResolvedMountedRemoteFileHost

public 
String getResolvedMountedRemoteFileHost()
Returns the actual file (member) host persistent property value for a mounted file.


getRemoteFilePath

public 
String getRemoteFilePath()
Returns the full file (member) path persistent property value.


getRemoteFileSubSystem

public 
String getRemoteFileSubSystem()
Returns the sub-system name persistent property value.


getRemoteFileTimeStamp

public long getRemoteFileTimeStamp()
Returns the remote file time stamp persistent property value.


getDownloadFileTimeStamp

public long getDownloadFileTimeStamp()
Returns the timestamp of the Eclipse resource after download


getSessionObject

protected 
Object getSessionObject(
QualifiedName name)
Returns the session property value of the given property.


getUsedBinaryTransfer

public boolean getUsedBinaryTransfer()
Returns the binary transfer flag persistent property value.


setDirty

public void setDirty(boolean bDirty)
Sets the temp file dirty persistent property value.


setReadOnly

public void setReadOnly(boolean bReadOnly)
Sets the temp file readonly persistent property value.


setRemoteFileMounted

public void setRemoteFileMounted(boolean bMounted)
Sets the remote file mounted indicator property value


setEditorProfileType

public void setEditorProfileType(
String strType)
Sets the editor profile type persistent property value.


setEncoding

public void setEncoding(
String strEncoding)
Sets the source encoding persistent property value.


setLocalEncoding

public void setLocalEncoding(
String strLocalEncoding)
Sets the local encoding persistent property value.

Parameters:
strLocalEncoding - the local encoding.

getBIDILogical

public boolean getBIDILogical()
Returns whether the file is stored in BIDI logical format.

Returns:
true if the file is stored in BIDI logical format, false if the file is stored in BIDI visual format.

setBIDILogical

public void setBIDILogical(boolean logical)
Sets whether the file is stored in BIDI logical format.

Parameters:
logical - true if the file is stored in BIDI logical format, false if the file is stored in BIDI visual format.

setHasSequenceNumbers

public void setHasSequenceNumbers(boolean bSequenceNumbers)
Sets the sequence numbers flag persistent property value.


setParentSessionObject

protected void setParentSessionObject(
QualifiedName name,
                                      
Object objValue)
Sets the session property to the given object.


setPropertyBoolean

protected void setPropertyBoolean(
QualifiedName name,
                                  boolean bValue)
Sets a boolean property given a property name, and its value.


setPropertyInteger

protected void setPropertyInteger(
QualifiedName name,
                                  int iValue)
Sets a boolean property given a property name, and its value.


setPropertyLong

protected void setPropertyLong(
QualifiedName name,
                               long lValue)
Sets a boolean property given a property name, and its value.


setPropertyString

protected void setPropertyString(
QualifiedName name,
                                 
String strValue)
Sets a string property given a property name, and its value.


setRecordLength

public void setRecordLength(int iRecordLength)
Sets the record length persistent property value.


setRemoteCCSID

public void setRemoteCCSID(int iCCSID)
Sets the codepage source encoding such as "Cp937" persistent property value.


setRemoteFileObject

public void setRemoteFileObject(
Object object)
Sets the remote system member path persistent property value.


setResolvedMountedRemoteFilePath

public void setResolvedMountedRemoteFilePath(
String strPath)
Sets the actual remote system file (member) path persistent property value on the originating host.


setResolvedMountedRemoteFileHost

public void setResolvedMountedRemoteFileHost(
String strHost)
Sets the actual remote system file (member) path persistent property value on the originating host.


setRemoteFilePath

public void setRemoteFilePath(
String strPath)
Sets the remote system file (member) path persistent property value.


setRemoteFileSubSystem

public void setRemoteFileSubSystem(
String strSubSystem)
Sets the sub system name persistent property value.


setRemoteFileTimeStamp

public void setRemoteFileTimeStamp(long lTimeStamp)
Sets the remote file time stamp persistent property value.


setDownloadFileTimeStamp

public void setDownloadFileTimeStamp(long lTimeStamp)
Sets the local file time stamp property value of download.


setSessionObject

protected void setSessionObject(
QualifiedName name,
                                
Object objValue)
Sets the session property to the given object.


setTempCCSID

public void setTempCCSID(
Object object)
Sets the remote system member path persistent property value.


setUsedBinaryTransfer

public void setUsedBinaryTransfer(boolean bBinaryTransfer)
Sets the binary transfer flag persistent property value.


setModificationStampAtExport

public void setModificationStampAtExport(
String hostName,
                                         
String destination,
                                         long modificationStamp)

getModificationStampAtExport

public long getModificationStampAtExport(
String hostName,
                                         
String destination)

hasModificationStampAtExport

public boolean hasModificationStampAtExport(
String hostName,
                                            
String destination)

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire