public void writeXref(Writer out) throws IOException {
out.write("Error General File X-Ref writer!");
}
public void writeXref(File xrefDir, String path) throws IOException {
RuntimeEnvironment env = RuntimeEnvironment.getInstance();
final boolean compressed = env.isCompressXref();
final File file = new File(xrefDir, path + (compressed ? ".gz" : ""));
OutputStream out = new FileOutputStream(file);
try {
if (compressed) {
out = new GZIPOutputStream(out);