public class Pdor
extends java.lang.Object
Constructor and Description |
---|
Pdor() |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String[] |
clean(java.lang.String[] lin) |
protected static long |
readDelta(java.lang.String line) |
protected static java.util.Date |
readExDate(java.lang.String line) |
protected static java.lang.String[] |
readFile(java.io.BufferedReader br) |
protected static java.lang.String[] |
readFile(java.io.File f) |
protected static java.lang.String[] |
readFile(java.lang.String file) |
protected static Parameter |
readParameter(java.lang.String line) |
static Por |
readPdor(java.lang.String file)
Read a PDOR (or old style POR) from a file as a POR
|
protected static java.util.Date |
readRefDate(java.lang.String line) |
protected static AbstractSequence |
readSequence(java.lang.String line,
java.util.Date refDate) |
protected static AbstractSequence[] |
readSequences(java.lang.String[] lines) |
protected static java.util.Date[] |
readValidity(java.lang.String line) |
protected static java.lang.String |
removeMultipleSpaces(java.lang.String line) |
protected static java.lang.String[] readFile(java.io.BufferedReader br) throws java.io.IOException, java.text.ParseException
java.io.IOException
java.text.ParseException
protected static java.lang.String[] readFile(java.io.File f) throws java.io.IOException, java.text.ParseException
java.io.IOException
java.text.ParseException
protected static java.lang.String[] readFile(java.lang.String file) throws java.io.IOException, java.text.ParseException
java.io.IOException
java.text.ParseException
protected static java.lang.String removeMultipleSpaces(java.lang.String line)
protected static java.lang.String[] clean(java.lang.String[] lin)
public static Por readPdor(java.lang.String file) throws java.io.IOException, java.text.ParseException
file
- java.io.IOException
java.text.ParseException
protected static AbstractSequence[] readSequences(java.lang.String[] lines) throws java.text.ParseException
java.text.ParseException
protected static java.util.Date[] readValidity(java.lang.String line) throws java.text.ParseException
java.text.ParseException
protected static AbstractSequence readSequence(java.lang.String line, java.util.Date refDate) throws java.text.ParseException
java.text.ParseException
protected static java.util.Date readExDate(java.lang.String line) throws java.text.ParseException
java.text.ParseException
protected static java.util.Date readRefDate(java.lang.String line) throws java.text.ParseException
java.text.ParseException
protected static long readDelta(java.lang.String line) throws java.text.ParseException
java.text.ParseException
protected static Parameter readParameter(java.lang.String line)