@Override public String toString() { return String.format("BCF%d.%d", getMajorVersion(), getMinorVersion()); } }
/** * Write out the BCF magic information indicating this is a BCF file with corresponding major and minor versions * @param out * @throws IOException */ public void write(final OutputStream out) throws IOException { out.write(MAGIC_HEADER_START); out.write(getMajorVersion() & 0xFF); out.write(getMinorVersion() & 0xFF); }
/** * Write out the BCF magic information indicating this is a BCF file with corresponding major and minor versions * @param out * @throws IOException */ public void write(final OutputStream out) throws IOException { out.write(MAGIC_HEADER_START); out.write(getMajorVersion() & 0xFF); out.write(getMinorVersion() & 0xFF); }
/** * Write out the BCF magic information indicating this is a BCF file with corresponding major and minor versions * @param out * @throws IOException */ public void write(final OutputStream out) throws IOException { out.write(MAGIC_HEADER_START); out.write(getMajorVersion() & 0xFF); out.write(getMinorVersion() & 0xFF); }
@Override public String toString() { return String.format("BCF%d.%d", getMajorVersion(), getMinorVersion()); } }
@Override public String toString() { return String.format("BCF%d.%d", getMajorVersion(), getMinorVersion()); } }
if ( bcfVersion.getMinorVersion() < MIN_MINOR_VERSION ) error("BCF2Codec can only process BCF2 files with minor version >= " + MIN_MINOR_VERSION + " but this file has minor version " + bcfVersion.getMinorVersion());
if ( bcfVersion.getMinorVersion() < MIN_MINOR_VERSION ) error("BCF2Codec can only process BCF2 files with minor version >= " + MIN_MINOR_VERSION + " but this file has minor version " + bcfVersion.getMinorVersion());
if ( bcfVersion.getMinorVersion() < MIN_MINOR_VERSION ) error("BCF2Codec can only process BCF2 files with minor version >= " + MIN_MINOR_VERSION + " but this file has minor version " + bcfVersion.getMinorVersion());