com.joanju.cg.printers
Class XrefPrinter
java.lang.Object
com.joanju.cg.printers.XrefPrinter
public class XrefPrinter
- extends java.lang.Object
Static methods for printing xref records for debugging.
Method Summary |
static void |
print(java.io.BufferedWriter writer,
java.util.Collection<Xref> xrefs)
|
static void |
writeStdout(java.util.ArrayList<java.lang.Integer> ids)
Use this to print the union of xref lists for multiple CUIDs. |
static void |
writeStdout(int cuid)
|
static void |
writeStdout(int cuid1,
int cuid2)
Use this to print the union of xref lists for two CUIDs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XrefPrinter
public XrefPrinter()
print
public static void print(java.io.BufferedWriter writer,
java.util.Collection<Xref> xrefs)
throws java.io.IOException
- Throws:
java.io.IOException
writeStdout
public static void writeStdout(int cuid)
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
writeStdout
public static void writeStdout(int cuid1,
int cuid2)
throws java.sql.SQLException,
java.io.IOException
- Use this to print the union of xref lists for two CUIDs.
- Throws:
java.sql.SQLException
java.io.IOException
writeStdout
public static void writeStdout(java.util.ArrayList<java.lang.Integer> ids)
throws java.sql.SQLException,
java.io.IOException
- Use this to print the union of xref lists for multiple CUIDs.
- Throws:
java.sql.SQLException
java.io.IOException
Copyright © 2008 Joanju Software. All Rights Reserved.