fr.umlv.unitex.process
Class ConvertCommand

java.lang.Object
  extended by fr.umlv.unitex.process.CommandBuilder
      extended by fr.umlv.unitex.process.ConvertCommand

public class ConvertCommand
extends CommandBuilder

Author:
Sébastien Paumier

Nested Class Summary
 class ConvertCommand.InvalidDestinationEncodingException
           
 class ConvertCommand.InvalidSourceEncodingException
           
 
Field Summary
 
Fields inherited from class fr.umlv.unitex.process.CommandBuilder
ERROR_MESSAGE, MESSAGE, PROGRAM
 
Constructor Summary
ConvertCommand()
           
ConvertCommand(java.util.ArrayList l)
           
 
Method Summary
 ConvertCommand copy()
           
 ConvertCommand dest(java.lang.String s)
           
 ConvertCommand file(java.io.File s)
           
 ConvertCommand rename(boolean addPrefix, boolean renameSource, java.lang.String s)
           
 ConvertCommand renameDestWithPrefix(java.lang.String s)
           
 ConvertCommand renameDestWithSuffix(java.lang.String s)
           
 ConvertCommand renameSourceWithPrefix(java.lang.String s)
           
 ConvertCommand renameSourceWithSuffix(java.lang.String s)
           
 ConvertCommand replace()
           
 ConvertCommand src(java.lang.String s)
           
 
Methods inherited from class fr.umlv.unitex.process.CommandBuilder
getBuilder, getCommandArguments, getCommandLine, getType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvertCommand

public ConvertCommand()

ConvertCommand

public ConvertCommand(java.util.ArrayList l)
Method Detail

src

public ConvertCommand src(java.lang.String s)
                   throws ConvertCommand.InvalidSourceEncodingException
Throws:
ConvertCommand.InvalidSourceEncodingException

dest

public ConvertCommand dest(java.lang.String s)
                    throws ConvertCommand.InvalidDestinationEncodingException
Throws:
ConvertCommand.InvalidDestinationEncodingException

replace

public ConvertCommand replace()

rename

public ConvertCommand rename(boolean addPrefix,
                             boolean renameSource,
                             java.lang.String s)

renameSourceWithPrefix

public ConvertCommand renameSourceWithPrefix(java.lang.String s)

renameSourceWithSuffix

public ConvertCommand renameSourceWithSuffix(java.lang.String s)

renameDestWithPrefix

public ConvertCommand renameDestWithPrefix(java.lang.String s)

renameDestWithSuffix

public ConvertCommand renameDestWithSuffix(java.lang.String s)

file

public ConvertCommand file(java.io.File s)

copy

public ConvertCommand copy()