it.biobytes.ammentos.query
Class QueryFilePersister
java.lang.Object
it.biobytes.ammentos.query.QueryFilePersister
public class QueryFilePersister
- extends java.lang.Object
Utility class for saving and loading queries from files
- Author:
- Davide Deidda
Method Summary |
Query |
load(java.io.InputStream is)
|
void |
save(Query query,
java.io.OutputStream os)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryFilePersister
public QueryFilePersister()
- Creates a new instance of QueryFilePersister
save
public void save(Query query,
java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
load
public Query load(java.io.InputStream is)
throws java.io.IOException,
java.lang.NumberFormatException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException,
PersistenceException
- Throws:
java.io.IOException
java.lang.NumberFormatException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
PersistenceException