private ByteStream() { setSeal(true); }
- public String toString() { return "ByteStream, source=" + file.getAbsolutePath(); }
+ public String toString() { return "ByteStream, source=" + (file == null ? "memory" : file.getAbsolutePath()); }
public String getClassName() { return "ByteStream"; }
ByteStream(String filename) {