org.metasyntactic.convert.deliminated
Class Deliminated

java.lang.Object
  |
  +--org.metasyntactic.convert.deliminated.Deliminated

public class Deliminated
extends java.lang.Object

Reads in a deliminated file (such as a tab deliminated file), and returns a list of lists. Each entry in the list returned corresponds to a line in the input. Each entry in the list corresponding to the line, corresponds to a token in that line


Constructor Summary
Deliminated()
           
 
Method Summary
static java.util.List input(java.io.InputStream in, java.lang.String deliminators)
           
static java.util.List input(java.io.LineNumberReader in, java.lang.String deliminators)
           
static java.util.List input(java.io.Reader in, java.lang.String deliminators)
           
static void main(java.lang.String[] args)
           
static void output(java.util.List rows, java.io.OutputStream out, java.lang.String deliminator)
           
static void output(java.util.List rows, java.io.PrintWriter out, java.lang.String deliminator)
           
static void output(java.util.List rows, java.io.Writer out, java.lang.String deliminator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deliminated

public Deliminated()
Method Detail

input

public static java.util.List input(java.io.InputStream in,
                                   java.lang.String deliminators)
                            throws java.io.IOException
java.io.IOException

input

public static java.util.List input(java.io.Reader in,
                                   java.lang.String deliminators)
                            throws java.io.IOException
java.io.IOException

input

public static java.util.List input(java.io.LineNumberReader in,
                                   java.lang.String deliminators)
                            throws java.io.IOException
java.io.IOException

output

public static void output(java.util.List rows,
                          java.io.OutputStream out,
                          java.lang.String deliminator)
                   throws java.io.IOException
java.io.IOException

output

public static void output(java.util.List rows,
                          java.io.Writer out,
                          java.lang.String deliminator)
                   throws java.io.IOException
java.io.IOException

output

public static void output(java.util.List rows,
                          java.io.PrintWriter out,
                          java.lang.String deliminator)
                   throws java.io.IOException
java.io.IOException

main

public static void main(java.lang.String[] args)