maandag 2 november 2009

Current listing of SennMagic

com.senn.magic.TextMagic

backwards (String) : String
flips the provided string backwards

countChars (String) : HashMap
count every occurence of every char in the provided string

findOccurrences (String, String) : int
count how many times a certain substring exists in the provided string

getFillerText (int) : String
get as many random lines as you want (easy to fill a gui to see if it works correctly with alot of text)

invertUpperCaseLowerCase (String) : String
switch all uppercase characters to lowercase and vice versa

split (String, char[]) : List
split a string with more than one separator at once

split (String, String[]) : List
split a string with more than one separator at once

split (String, List) : List
split a string with more than one separator at once


com.senn.magic.FileMagic

copyFile (File, File) : void
copy a file to another location

getBytesFromFile (File) : byte[]
get the byte-array from a file

getDirectoryFromFileName (String) : String
get the name of the directoey from a filename

getExtension (File) : String
get the extension of a file

getExtension (String) : String
get the extension of a file


getFileName (String) : String
get the name of a file without the extension

getFilesInFolder (File, boolean, boolean) : List
get all files from a folder

getFilesInFolder (String,
boolean, boolean) : List
get all files from a folder

getFilesInFolderByExtension (File
, String, boolean, boolean) : List
get all files from a folder filtered by extension

getFilesInFolderByExtension (String, String, boolean, boolean) : List
get all files from a folder filtered by extension

getParentFolderName (File) : String
get the name of the parent directory

moveFile (File, File) : void
move a file to another location

renameFile (File, String) : String
rename a file


If you have any remarks or suggestions, feel free to contact me!

Geen opmerkingen:

Een reactie plaatsen