1 33 34 package edu.rice.cs.util; 35 import java.io.File ; 36 import java.io.Serializable ; 37 38 41 public class NullFile extends File implements Serializable { 42 43 public NullFile() { super(""); } 44 public String toString() { return "(Untitled)"; } 45 46 47 public boolean equals(Object o) { 48 if (o == null || o.getClass() != getClass()) return false; 49 return o == this; 50 } 51 52 } 53 | Popular Tags |