|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fosstrak.ale.util.DeserializerUtil
public class DeserializerUtil
This class provides some methods to deserialize ec specifications and reports.
| Field Summary | |
|---|---|
static org.apache.log4j.Logger |
LOG
logger. |
| Constructor Summary | |
|---|---|
DeserializerUtil()
|
|
| Method Summary | |
|---|---|
static AddReaders |
deserializeAddReaders(java.lang.String pathName)
This method deserializes a AddReaders from a file. |
static ECReports |
deserializeECReports(java.io.InputStream in)
This method deserializes ECReports from a file. |
static ECSpec |
deserializeECSpec(java.io.InputStream inputStream)
This method deserializes an ec specification from an input stream. |
static ECSpec |
deserializeECSpec(java.lang.String pathName)
This method deserializes an ec specification from a file. |
static LRProperty |
deserializeLRProperty(java.io.InputStream inputStream)
This method deserializes a LRProperty from an input stream. |
static LRSpec |
deserializeLRSpec(java.io.InputStream inputStream)
This method deserializes a LRSpec from an input stream. |
static LRSpec |
deserializeLRSpec(java.lang.String pathName)
This method deserializes a LRSpec from an file path. |
static RemoveReaders |
deserializeRemoveReaders(java.lang.String pathName)
This method deserializes a RemoveReaders from a file. |
static SetProperties |
deserializeSetProperties(java.lang.String pathName)
This method deserializes a SetProperties from a file. |
static SetReaders |
deserializeSetReaders(java.lang.String pathName)
This method deserializes a SetReaders from a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.log4j.Logger LOG
| Constructor Detail |
|---|
public DeserializerUtil()
| Method Detail |
|---|
public static ECSpec deserializeECSpec(java.io.InputStream inputStream)
throws java.lang.Exception
inputStream - to deserialize
java.lang.Exception - if deserialization fails
public static ECSpec deserializeECSpec(java.lang.String pathName)
throws java.io.FileNotFoundException,
java.lang.Exception
pathName - of the file containing the ec specification
java.io.FileNotFoundException - if the file could not be found
java.lang.Exception - if deserialization fails
public static LRSpec deserializeLRSpec(java.io.InputStream inputStream)
throws java.lang.Exception
inputStream - to deserialize
java.lang.Exception - if deserialization fails
public static LRSpec deserializeLRSpec(java.lang.String pathName)
throws java.io.FileNotFoundException,
java.lang.Exception
pathName - to deserialize
java.lang.Exception - if deserialization fails
java.io.FileNotFoundException
public static LRProperty deserializeLRProperty(java.io.InputStream inputStream)
throws java.lang.Exception
inputStream - to deserialize
java.lang.Exception - if deserialization fails
public static SetProperties deserializeSetProperties(java.lang.String pathName)
throws java.io.IOException
pathName - the path to the file to be deserialized.
java.io.IOException - if file is not found.
public static RemoveReaders deserializeRemoveReaders(java.lang.String pathName)
throws java.io.IOException
pathName - the path to the file to be deserialized.
java.io.IOException - if file is not found.
public static SetReaders deserializeSetReaders(java.lang.String pathName)
throws java.io.IOException
pathName - the path to the file to be deserialized.
java.io.IOException - if file is not found.
public static AddReaders deserializeAddReaders(java.lang.String pathName)
throws java.io.IOException
pathName - the path to the file to be deserialized.
java.io.IOException - if file is not found.
public static ECReports deserializeECReports(java.io.InputStream in)
throws java.io.IOException
pathName - the path to the file to be deserialized.
java.io.IOException - if file is not found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||