org.eclipse.lyo.oslc4j.stockquote
Class Persistence
java.lang.Object
org.eclipse.lyo.oslc4j.stockquote.Persistence
public class Persistence
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
load
public static boolean load(String uriString)
throws DatatypeConfigurationException,
FileNotFoundException,
IllegalAccessException,
IllegalArgumentException,
InstantiationException,
InvocationTargetException,
OslcCoreApplicationException,
URISyntaxException,
SecurityException,
NoSuchMethodException
- Throws:
DatatypeConfigurationException
FileNotFoundException
IllegalAccessException
IllegalArgumentException
InstantiationException
InvocationTargetException
OslcCoreApplicationException
URISyntaxException
SecurityException
NoSuchMethodException
save
public static void save(String uriString)
throws URISyntaxException,
OslcCoreApplicationException,
IllegalArgumentException,
DatatypeConfigurationException,
IllegalAccessException,
InvocationTargetException,
FileNotFoundException
- Throws:
URISyntaxException
OslcCoreApplicationException
IllegalArgumentException
DatatypeConfigurationException
IllegalAccessException
InvocationTargetException
FileNotFoundException
getStockQuotes
public static StockQuote[] getStockQuotes()
getStockQuote
public static StockQuote getStockQuote(String identifier)
addStockQuote
public static void addStockQuote(StockQuote stockQuote)
deleteStockQuote
public static StockQuote deleteStockQuote(String identifier)
Copyright © 2013. All Rights Reserved.