maandag 23 november 2009

SennMagic 1.1.1

A small update has been released for SennMagic 1.1.

2 methods have been hotfixed and a small typo in the javadoc was fixed.

vrijdag 20 november 2009

SennMagic 1.1!

Praise the Lord, SennMagic 1.1 is out!

All existing classes have been given a small update and a new class is added!

LogMagic: a small and easy to use logger!

Be sure to check it out!
For more info read the RELEASENOTES (included in the jar).

All versions of SennMagic are on SourceForge.net

I'd like to thank Kevin, Frederik and Jan for hosting it while it was needed!
For now, I'll focus on SourceForge.

dinsdag 17 november 2009

SennMagic on SourceForge.net

A project has been created on SourceForge for SennMagic.


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