Some java class that maybee useful.