@Override public QCmd Do(Connection connection) { connection.ClearSync(); Logger.getLogger(QCmdCreateDirectory.class.getName()) .log(Level.INFO, "creating dir: {0}", filename); connection.TransmitCreateDirectory(filename, date); SDCardInfo.getInstance().AddFile(filename, 0, date); return this; }
@Override public String GetDoneMessage() { SDCardInfo.getInstance().Delete(filename); return "Done creating directory"; }