public class MVSFileParser
extends com.enterprisedt.net.ftp.FTPFileParser
| Constructor and Description |
|---|
MVSFileParser(org.pentaho.di.core.logging.LogChannelInterface log) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDateFormatString()
Returns the date format string in use for parsing
date in the listing.
|
boolean |
isPartitionedDataset() |
boolean |
isValidFormat(String[] listing)
Abstract Class Implementations
|
com.enterprisedt.net.ftp.FTPFile |
parse(String raw)
This parses an individual line from the directory listing.
|
void |
setDateFormatString(String value)
Provides ability to pre-specify the format
that the parser will use to parse dates.
|
void |
setLocale(Locale arg0)
Could in theory be used to figure out the format of the date/time
except that I'd need time on the server to see if this actually
works that way.
|
String |
toString()
Returns parser name.
|
public MVSFileParser(org.pentaho.di.core.logging.LogChannelInterface log)
public boolean isValidFormat(String[] listing)
isValidFormat in class com.enterprisedt.net.ftp.FTPFileParserpublic com.enterprisedt.net.ftp.FTPFile parse(String raw) throws ParseException
parse in class com.enterprisedt.net.ftp.FTPFileParserParseExceptionpublic void setLocale(Locale arg0)
setLocale in class com.enterprisedt.net.ftp.FTPFileParserpublic String toString()
public boolean isPartitionedDataset()
public String getDateFormatString()
public void setDateFormatString(String value)
value - the string to set.