be.bastard.mtracker.external
Class PlatformIndependentGuidGen

java.lang.Object
  extended by be.bastard.mtracker.external.PlatformIndependentGuidGen

public class PlatformIndependentGuidGen
extends java.lang.Object

PlatformIndependentGuidGen. This file does not belong explicitely to the Media Tracker project. It is a id generator that was written by Todd Clark in 2004. Below is the original license information of the class.

 --------------------------------------------------------------------------------------
  Just a stand alone class that I posted to a forum

  Copyright (C) 2004 Todd Clark quirkware0@yahoo.com

  This library is free software; you can redistribute it and/or modify it
  under the terms of the GNU Lesser General Public License as published by the Free
  Software Foundation; either version 2.1 of the License, or (at your option)
  any later version.

  This library is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  or FITfNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
  for more details.

  You should have received a copy of the GNU Lesser General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

  If you make changes or improvements to the this class I ask that you you 
  post them to a forum thread and email the improvements to quirkware0@yahoo.com 
  and that you leave my name intact in the header comments.

  If you use this code in an application that you distribute. I require that you
  include my name in the credits of your application.
 --------------------------------------------------------------------------------------
 


Method Summary
 java.lang.String genNewGuid()
           
static PlatformIndependentGuidGen getInstance()
          Note: the first time you call this function it is very expensive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PlatformIndependentGuidGen getInstance()
Note: the first time you call this function it is very expensive

Returns:
PlatformIndependentGuidGen the instace of the Guid generator

genNewGuid

public java.lang.String genNewGuid()
Returns:
String a new Guid


Copyright 2006 null. All Rights Reserved.