Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.pepperview.romzinger
Class ROMZinger  view ROMZinger download ROMZinger.java

java.lang.Object
  extended bycom.pepperview.romzinger.ROMZinger

public class ROMZinger
extends java.lang.Object

Description of the Class


Field Summary
private static java.lang.String backupFolder
           
private static int badNamedFileAction
           
private static int badRomAction
           
private static int badZipAction
           
private static java.lang.String badZipFolder
           
private static java.lang.String datFiles
           
private static int DELETE
           
private static int DO_NOTHING
           
private static int duplicateAction
           
private static java.lang.String dupRomFolder
           
private static int IDENTIFY
           
private static int LIST
           
private static int mode
           
private static int MOVE
           
private static java.lang.String processedFolder
           
private static boolean recurseFolders
           
private static int RENAME
           
private static int REPAIR
           
private static java.lang.String romPath
           
private static int unmatchedFileAction
           
private static java.lang.String unmatchedFolder
           
 
Constructor Summary
ROMZinger()
           
 
Method Summary
private static void checkForDuplicates(java.util.Vector gameList, GameSetCollection collection, int action, java.io.File moveFolder)
          Description of the Method
private static void checkROMs(java.util.Vector gameList, GameSetCollection collection, int action, java.io.File moveFolder)
          Description of the Method
private static void commit(java.util.Vector gameList)
          Description of the Method
private static void doRepair(java.util.Vector gameList, GameSetCollection collection)
          Description of the Method
private static void identifyFiles(java.util.Vector gameList, GameSetCollection collection, int action, java.io.File moveFolder)
          Description of the Method
static void main(java.lang.String[] argv)
          The main program for the ROMZinger class
private static void moveProcessed(java.util.Vector gameList)
          Description of the Method
private static void parseArguments(java.lang.String[] argv)
          Description of the Method
private static void processFolder(java.io.File folder, java.util.Vector gameList, boolean recurse, int action, java.io.File moveFolder)
          Description of the Method
private static void renameFiles(java.util.Vector gameList, GameSetCollection collection, int action, java.io.File moveFolder)
          Description of the Method
private static void sanitizeFilesList(java.util.Vector gameList)
          Description of the Method
private static void usage(java.lang.String str)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DO_NOTHING

private static final int DO_NOTHING
See Also:
Constant Field Values

MOVE

private static final int MOVE
See Also:
Constant Field Values

DELETE

private static final int DELETE
See Also:
Constant Field Values

RENAME

private static final int RENAME
See Also:
Constant Field Values

REPAIR

private static final int REPAIR
See Also:
Constant Field Values

IDENTIFY

private static final int IDENTIFY
See Also:
Constant Field Values

LIST

private static final int LIST
See Also:
Constant Field Values

mode

private static int mode

recurseFolders

private static boolean recurseFolders

badZipFolder

private static java.lang.String badZipFolder

dupRomFolder

private static java.lang.String dupRomFolder

unmatchedFolder

private static java.lang.String unmatchedFolder

romPath

private static java.lang.String romPath

backupFolder

private static java.lang.String backupFolder

datFiles

private static java.lang.String datFiles

processedFolder

private static java.lang.String processedFolder

badZipAction

private static int badZipAction

unmatchedFileAction

private static int unmatchedFileAction

badNamedFileAction

private static int badNamedFileAction

badRomAction

private static int badRomAction

duplicateAction

private static int duplicateAction
Constructor Detail

ROMZinger

public ROMZinger()
Method Detail

doRepair

private static void doRepair(java.util.Vector gameList,
                             GameSetCollection collection)
Description of the Method

Since:

main

public static void main(java.lang.String[] argv)
The main program for the ROMZinger class

Since:

processFolder

private static void processFolder(java.io.File folder,
                                  java.util.Vector gameList,
                                  boolean recurse,
                                  int action,
                                  java.io.File moveFolder)
Description of the Method

Since:

identifyFiles

private static void identifyFiles(java.util.Vector gameList,
                                  GameSetCollection collection,
                                  int action,
                                  java.io.File moveFolder)
Description of the Method

Since:

renameFiles

private static void renameFiles(java.util.Vector gameList,
                                GameSetCollection collection,
                                int action,
                                java.io.File moveFolder)
Description of the Method

Since:

checkForDuplicates

private static void checkForDuplicates(java.util.Vector gameList,
                                       GameSetCollection collection,
                                       int action,
                                       java.io.File moveFolder)
Description of the Method

Since:

sanitizeFilesList

private static void sanitizeFilesList(java.util.Vector gameList)
Description of the Method

Since:

checkROMs

private static void checkROMs(java.util.Vector gameList,
                              GameSetCollection collection,
                              int action,
                              java.io.File moveFolder)
Description of the Method

Since:

commit

private static void commit(java.util.Vector gameList)
Description of the Method

Since:

moveProcessed

private static void moveProcessed(java.util.Vector gameList)
Description of the Method

Since:

parseArguments

private static void parseArguments(java.lang.String[] argv)
Description of the Method

Since:

usage

private static void usage(java.lang.String str)
Description of the Method

Since: