|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.senn.magic.svn.SvnRemover
public class SvnRemover
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
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 |
---|
public SvnRemover()
Method Detail |
---|
public static void main(String[] args)
args
- requires one parameter: location java -cp senn-magic.jar com.senn.magic.svn.SvnRemover C:/temp
public static boolean remove(String path)
.svn
structures from a folder and it's subfolders.
path
- the path to a directory on the filesystem
boolean
- true
if it succeeded, false
if it didn'tpublic static boolean remove(File folder)
.svn
structures from a folder and it's subfolders.
folder
- a File
object representing a directory on the filesystem
boolean
- true
if it succeeded, false
if it didn't
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |