ImageOutputStream
File
RandomAccessFile
5152535455565758596061
public ImageOutputStream createOutputStreamInstance(Object output, boolean useCache, File cacheDir) { if (output instanceof RandomAccessFile) { try { return new FileImageOutputStream((RandomAccessFile)output); } catch (Exception e) { e.printStackTrace(); return null; } } else {
5051525354555657585960
public ImageOutputStream createOutputStreamInstance(Object output, boolean useCache, File cacheDir) { if (output instanceof File) { try { return new FileImageOutputStream((File)output); } catch (Exception e) { e.printStackTrace(); return null; } } else {