Posts tonen met het label senn. Alle posts tonen
Posts tonen met het label senn. Alle posts tonen

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!

SennMagic launched

Hello all,

the first version of SennMagic has just been released (senn-magic-1.0.jar).

Now what is SennMagic..?

SennMagic is a bundle of utilities to facilitate some actions.
Currently it's just for Text- and File-actions. In the future it will most likely expand.

SennMagic is free to use under certain conditions.
Read the License Agreement for more info.


Download the jar here:

 ---------------------------------------------------------------------------
thanks to Frederik 'voltje'
---------------------------------------------------------------------------
http://kevinvandyck.110mb.com/senn-magic-1.0.jar 
thanks to Kevin Van Dyck


Greetings,
Bart