public void save() { String outPath = JConfig.queryConfiguration("auctions.savepath"); if (outPath != null && outPath.length() != 0) { if (JConfig.queryConfiguration("store.auctionHTML", "true").equals("true")) { String filePath = outPath + System.getProperty("file.separator") + getIdentifier() + ".html.gz"; if (mLoadedPage != null) { mLoadedPage.save(filePath); } } } mLoadedPage = null; }
void setRealContent(byte[] changedContent, boolean final_data) { String outPath = JConfig.queryConfiguration("auctions.savepath"); if (changedContent != null) { mLoadedPage = new GZip(); mLoadedPage.setData(changedContent); if (outPath != null && outPath.length() != 0) { if (final_data) { String filePath = outPath + System.getProperty("file.separator") + getIdentifier() + ".html.gz"; mLoadedPage.save(filePath); mLoadedPage = null; } } } }