com.senn.magic.svn
Class SvnRemover

java.lang.Object
  extended by com.senn.magic.svn.SvnRemover

public class SvnRemover
extends Object

Class to remove the .svn-structure from a folder (incl. subfolders).
Can be run from commandline using the following command:
java -cp senn-magic-{version}.jar com.senn.magic.svn.SvnRemover

Since:
3.3
Author:
Bart Thierens
Last modification: 02/06/2010

Constructor Summary
SvnRemover()
           
 
Method Summary
static void main(String[] args)
          Main entrypoint for when the class is run from commandline (standalone).
static boolean remove(File folder)
          Removes the .svn structures from a folder and it's subfolders.
static boolean remove(String path)
          Removes the .svn structures from a folder and it's subfolders.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SvnRemover

public SvnRemover()
Method Detail

main

public static void main(String[] args)
Main entrypoint for when the class is run from commandline (standalone).

Parameters:
args - requires one parameter: location
java -cp senn-magic.jar com.senn.magic.svn.SvnRemover C:/temp

remove

public static boolean remove(String path)
Removes the .svn structures from a folder and it's subfolders.

Parameters:
path - the path to a directory on the filesystem
Returns:
boolean - true if it succeeded, false if it didn't

remove

public static boolean remove(File folder)
Removes the .svn structures from a folder and it's subfolders.

Parameters:
folder - a File object representing a directory on the filesystem
Returns:
boolean - true if it succeeded, false if it didn't