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

Quick Search    Search Deep

com.yaftp.ftp
Class MVSftp  view MVSftp download MVSftp.java

java.lang.Object
  extended bycom.yaftp.ftp.FtpOs
      extended bycom.yaftp.ftp.MVSftp

public class MVSftp
extends FtpOs

implements MVS idiosynchrasy based on abstract methods defined in parent FtpOs class

Version:
: 0.0.1

Field Summary
private  java.lang.String[] _DETAILED_COLUMNS_
           
private  int _DIRECTORY_COUNT_
           
private static char _DOUBLE_QUOTE_
           
private  java.lang.String _EMPTY_
           
private  java.lang.String _filePrefix
           
private  UNIXftp _hfs
          a UNIXFtp object instance is allocated if HFS mode is switched during session
private  boolean _isPds
           
private static java.lang.String[] _JES_COLUMNS_
          the standard JES columns
private  boolean _jesMode
          true whenever the LIST is turned on to view JES2 OUT files
private  java.lang.String _NO_JOB_FOUNDS_
          this is what we get when the queue is empty
private static java.lang.String _PARTITIONNED_DS_MESSAGE_
           
private static java.lang.String _WKDIR_MESSAGE_
           
 
Fields inherited from class com.yaftp.ftp.FtpOs
_curDirectory, _curFile, _fileList, _newDirectory
 
Constructor Summary
MVSftp()
           
 
Method Summary
private  void build_DETAILED_COLUMNS_(java.lang.String colList)
           
private  void build_DETAILED_JES_COLUMNS()
          if jes mode is toggle just build the standard JES job column list
 java.lang.String checkCurDirectory(java.lang.String message)
          this entry point called after a changed directory with the CD FTP returned message , this gives the capacity to determine on which file system we're positionned
 void convertDirectory(java.lang.String inDir)
           
 void convertFileName(java.lang.String inFile)
           
 FtpOsFile convertJESLISTElement(java.lang.String inString)
           
 FtpOsFile convertLISTelement(java.lang.String inString)
           
private  void dealWithToken(java.util.StringTokenizer parser, java.lang.String[] detailled, int detailledInd)
           
 java.util.Vector ftpList(FtpClientSession curSess)
           
 java.lang.String[] get_Column_Names()
           
 boolean isMVS()
           
 void reset_COLTITLE()
           
 void set_jesMode(boolean jesMode)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class com.yaftp.ftp.FtpOs
getCurDirectory, getCurFile, hasDirChanged, parseFileName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_WKDIR_MESSAGE_

private static final java.lang.String _WKDIR_MESSAGE_
See Also:
Constant Field Values

_PARTITIONNED_DS_MESSAGE_

private static final java.lang.String _PARTITIONNED_DS_MESSAGE_
See Also:
Constant Field Values

_DOUBLE_QUOTE_

private static final char _DOUBLE_QUOTE_
See Also:
Constant Field Values

_DIRECTORY_COUNT_

private final int _DIRECTORY_COUNT_
See Also:
Constant Field Values

_EMPTY_

private final java.lang.String _EMPTY_
See Also:
Constant Field Values

_NO_JOB_FOUNDS_

private final java.lang.String _NO_JOB_FOUNDS_
this is what we get when the queue is empty

See Also:
Constant Field Values

_JES_COLUMNS_

private static final java.lang.String[] _JES_COLUMNS_
the standard JES columns


_DETAILED_COLUMNS_

private java.lang.String[] _DETAILED_COLUMNS_

_hfs

private UNIXftp _hfs
a UNIXFtp object instance is allocated if HFS mode is switched during session


_jesMode

private boolean _jesMode
true whenever the LIST is turned on to view JES2 OUT files


_isPds

private boolean _isPds

_filePrefix

private java.lang.String _filePrefix
Constructor Detail

MVSftp

public MVSftp()
Method Detail

build_DETAILED_COLUMNS_

private void build_DETAILED_COLUMNS_(java.lang.String colList)

build_DETAILED_JES_COLUMNS

private void build_DETAILED_JES_COLUMNS()
if jes mode is toggle just build the standard JES job column list


set_jesMode

public void set_jesMode(boolean jesMode)

reset_COLTITLE

public void reset_COLTITLE()
Specified by:
reset_COLTITLE in class FtpOs

get_Column_Names

public java.lang.String[] get_Column_Names()
Specified by:
get_Column_Names in class FtpOs

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).

Specified by:
toString in class FtpOs

checkCurDirectory

public final java.lang.String checkCurDirectory(java.lang.String message)
this entry point called after a changed directory with the CD FTP returned message , this gives the capacity to determine on which file system we're positionned

Specified by:
checkCurDirectory in class FtpOs

convertDirectory

public void convertDirectory(java.lang.String inDir)
Specified by:
convertDirectory in class FtpOs

convertFileName

public void convertFileName(java.lang.String inFile)
Specified by:
convertFileName in class FtpOs

dealWithToken

private void dealWithToken(java.util.StringTokenizer parser,
                           java.lang.String[] detailled,
                           int detailledInd)

convertJESLISTElement

public FtpOsFile convertJESLISTElement(java.lang.String inString)
                                throws ClientFtpError

convertLISTelement

public FtpOsFile convertLISTelement(java.lang.String inString)
                             throws ClientFtpError
Specified by:
convertLISTelement in class FtpOs

ftpList

public java.util.Vector ftpList(FtpClientSession curSess)
                         throws ClientFtpError
Specified by:
ftpList in class FtpOs

isMVS

public boolean isMVS()
Specified by:
isMVS in class FtpOs