/** * Reads the visual signature from the given file. * * @param file the file containing the visual signature * @throws IOException when something went wrong during parsing */ public void setVisualSignature(File file) throws IOException { initFromRandomAccessRead(new RandomAccessBufferedFileInputStream(file)); }
/** * Reads the visual signature from the given input stream. * * @param is the input stream containing the visual signature * @throws IOException when something went wrong during parsing */ public void setVisualSignature(InputStream is) throws IOException { initFromRandomAccessRead(new RandomAccessBuffer(is)); }
/** * Reads the visual signature from the given input stream. * * @param is the input stream containing the visual signature * @throws IOException when something went wrong during parsing */ public void setVisualSignature(InputStream is) throws IOException { initFromRandomAccessRead(new RandomAccessBuffer(is)); }
/** * Reads the visual signature from the given file. * * @param file the file containing the visual signature * @throws IOException when something went wrong during parsing */ public void setVisualSignature(File file) throws IOException { initFromRandomAccessRead(new RandomAccessBufferedFileInputStream(file)); }
/** * Reads the visual signature from the given file. * * @param file the file containing the visual signature * @throws IOException when something went wrong during parsing */ public void setVisualSignature(File file) throws IOException { initFromRandomAccessRead(new RandomAccessBufferedFileInputStream(file)); }
/** * Reads the visual signature from the given input stream. * * @param is the input stream containing the visual signature * @throws IOException when something went wrong during parsing */ public void setVisualSignature(InputStream is) throws IOException { initFromRandomAccessRead(new RandomAccessBuffer(is)); }