Style Intelligence v12.0

inetsoft.uql.text
Class DelimitedFileInfo

java.lang.Object
  extended by inetsoft.uql.text.DelimitedFileInfo
All Implemented Interfaces:
TextFileInfo, inetsoft.util.XMLSerializable, Cloneable

public class DelimitedFileInfo
extends Object
implements TextFileInfo

Descriptor for a delimited text file.

Since:
11.0

Constructor Summary
DelimitedFileInfo()
          Creates a new instance of DelimitedFileInfo.
 
Method Summary
 String getDelimiter()
          Gets the sequence of characters that separate fields in the file.
static String parseDelimiter(String xml)
          Parses a delimiter from its XML representation.
 void parseXML(Element tag)
          
 void setDelimiter(String delimiter)
          Sets the sequence of characters that separate fields in the file.
static String writeDelimiter(String delimiter)
          Gets the XML representation of a delimiter.
 void writeXML(PrintWriter writer)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelimitedFileInfo

public DelimitedFileInfo()
Creates a new instance of DelimitedFileInfo.

Method Detail

getDelimiter

public final String getDelimiter()
Gets the sequence of characters that separate fields in the file.

Returns:
the delimiter.

setDelimiter

public final void setDelimiter(String delimiter)
Sets the sequence of characters that separate fields in the file.

Parameters:
delimiter - the delimiter.

parseXML

public void parseXML(Element tag)
              throws Exception

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Throws:
Exception

writeXML

public void writeXML(PrintWriter writer)

Specified by:
writeXML in interface inetsoft.util.XMLSerializable

parseDelimiter

public static String parseDelimiter(String xml)
Parses a delimiter from its XML representation.

Parameters:
xml - the XML to parse.
Returns:
the delimiter.

writeDelimiter

public static String writeDelimiter(String delimiter)
Gets the XML representation of a delimiter.

Parameters:
delimiter - the delimiter to write.
Returns:
the XML representation.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.