146147148149150151152153154155
@Override public boolean mkdir() { if (file.mkdir()) { resourceFactory.fireEvent(new ResourceCreated(this)); return true; } return false; }
160161162163164165166167168169
@Override public boolean mkdirs() { if (file.mkdirs()) { resourceFactory.fireEvent(new ResourceCreated(this)); return true; } return false; }
346347348349350351352353354355356
{ file.delete(); } if (file.createNewFile()) { resourceFactory.fireEvent(new ResourceCreated(this)); return true; } return false; } catch (IOException e)