List of usage examples for org.apache.commons.compress.archivers.zip ZipLong LFH_SIG
ZipLong LFH_SIG
To view the source code for org.apache.commons.compress.archivers.zip ZipLong LFH_SIG.
Click Source Link
From source file:org.dataconservancy.packaging.tool.impl.AnnotationDrivenPackageStateSerializerTest.java
@Test public void testDeserializeEmptyArchive() throws Exception { PackageState state = new PackageState(); underTest.setMarshallerMap(liveMarshallerMap); BufferedInputStream in = new BufferedInputStream(new ByteArrayInputStream(ZipLong.LFH_SIG.getBytes())); underTest.deserialize(state, in);/*from w w w . ja v a2s . co m*/ assertEmptyOrNullStreamsOnPackageState(state); }