コード例 #1
0
 @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;
 }
コード例 #2
0
 @Override
 public String GetDoneMessage() {
   SDCardInfo.getInstance().Delete(filename);
   return "Done creating directory";
 }