os.djtagger.action.file
Class MoveAction

java.lang.Object
  extended by os.djtagger.action.AbstractAction
      extended by os.djtagger.action.file.MoveAction
All Implemented Interfaces:
Action, Move

public class MoveAction
extends AbstractAction
implements Move


Constructor Summary
MoveAction(java.io.File target)
           
 
Method Summary
 void dryRun(java.io.File file, TaskRunner info)
          Print what the action would do.
 java.io.File getTarget(java.io.File source)
           
 void perform(java.io.File file, TaskRunner info)
          Perform on action on a media file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveAction

public MoveAction(java.io.File target)
Method Detail

perform

public void perform(java.io.File file,
                    TaskRunner info)
Description copied from interface: Action
Perform on action on a media file.

Specified by:
perform in interface Action
Parameters:
file - File to perform the action on.
info - Contains information about the media collection library that this file is part of.

dryRun

public void dryRun(java.io.File file,
                   TaskRunner info)
Description copied from interface: Action
Print what the action would do.

Specified by:
dryRun in interface Action
Parameters:
file - File to perform the action on.
info - Contains information about the media collection library that this file is part of.

getTarget

public java.io.File getTarget(java.io.File source)
Specified by:
getTarget in interface Move


Copyright © 2007-2010 Pointbreak. All Rights Reserved.