@Override public InputStream getCacheInputStream() throws IOException { File file = new File(Settings.getPathPriceData()); if (file.exists()) { return new FileInputStream(file); } return null; }
@Override public OutputStream getCacheOutputStream() throws IOException { return new FileOutputStream(Settings.getPathPriceData()); }