public class FixedWidthConfigurationReader extends Object
FixedWidthConfiguration to use with
a FixedWidthDataContext.| Constructor and Description |
|---|
FixedWidthConfigurationReader() |
| Modifier and Type | Method and Description |
|---|---|
FixedWidthConfiguration |
readFromSasFormatFile(String encoding,
Resource resource,
boolean failOnInconsistentLineWidth)
Reads a
FixedWidthConfiguration based on a SAS 'format file',
described here. |
FixedWidthConfiguration |
readFromSasInputDefinition(String encoding,
Resource resource,
boolean failOnInconsistentLineWidth)
Reads a
FixedWidthConfiguration based on a SAS INPUT declaration. |
public FixedWidthConfiguration readFromSasFormatFile(String encoding, Resource resource, boolean failOnInconsistentLineWidth)
FixedWidthConfiguration based on a SAS 'format file',
described here.encoding - the format file encodingresource - the format file resourcefailOnInconsistentLineWidth - flag specifying whether inconsistent line should stop processing or notFixedWidthConfiguration object to usepublic FixedWidthConfiguration readFromSasInputDefinition(String encoding, Resource resource, boolean failOnInconsistentLineWidth)
FixedWidthConfiguration based on a SAS INPUT declaration.
The reader method also optionally will look for a LABEL definition for column naming.encoding - the format file encodingresource - the format file resourcefailOnInconsistentLineWidth - flag specifying whether inconsistent line should stop processing or notFixedWidthConfiguration object to useCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.