Skip to content
Snippets Groups Projects
ICacheFile.java 478 B
package azgracompress.cache;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

public interface ICacheFile {

    void writeToStream(DataOutputStream outputStream) throws IOException;

    void readFromStream(DataInputStream inputStream) throws IOException;

    void readFromStream(DataInputStream inputStream, CacheFileHeader header) throws IOException;

    CacheFileHeader getHeader();

    void report(StringBuilder builder);
}