PageBoxLib
Class UsageFactory

java.lang.Object
  extended byPageBoxLib.UsageFactory

class UsageFactory
extends java.lang.Object

Hides the Resource usage class. Method returning a UsageIF object that collects resource data on an Operating System.

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program 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; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 13
Author:
Alexis Grandemange

Field Summary
(package private) static UsageIF ui
          Usage probe singleton
 
Constructor Summary
(package private) UsageFactory()
           
 
Method Summary
(package private) static UsageIF getUsageProbe(Log log)
          Instantiates a usage probe according to the Operating System.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ui

static UsageIF ui
Usage probe singleton

Constructor Detail

UsageFactory

UsageFactory()
Method Detail

getUsageProbe

static UsageIF getUsageProbe(Log log)
Instantiates a usage probe according to the Operating System.

Parameters:
log - logging object