@Override public void setId(String id) throws FormatException, IOException { if (getCurrentFile() != null && new Location(id).getAbsolutePath().equals(getCurrentFile())) { // already initialized this file return; } close(); initFile(id); }
@Override public void setId(String id) throws FormatException, IOException { if (getCurrentFile() != null && new Location(id).getAbsolutePath().equals(getCurrentFile())) { // already initialized this file return; } close(); initFile(id); }