@Override public String toString() { return serializeToString(); }
@Override public String toString() { return serializeToString(); }
/** * Serialize the entry to a CRAI index stream. * @param os stream to write to */ public void writeToStream(OutputStream os) { try { os.write(serializeToString().getBytes()); os.write('\n'); } catch (IOException e) { throw new RuntimeIOException(e); } }
/** * Serialize the entry to a CRAI index stream. * @param os stream to write to */ public void writeToStream(OutputStream os) { try { os.write(serializeToString().getBytes()); os.write('\n'); } catch (IOException e) { throw new RuntimeIOException(e); } }