org.webdocwf.util.loader
Class BufferOctopusClass

java.lang.Object
  extended byorg.webdocwf.util.loader.BufferOctopusClass

public class BufferOctopusClass
extends java.lang.Object

BufferClass class is used for writing system out in to internal buffer. This class is a Singleton.

Version:
1.0
Author:
Radoslav Dutina

Method Summary
 void empty()
          This method clear parameter bufrrer
static BufferOctopusClass getInstance()
          Returns the single instance, creating one if it's the first time this method is called.
 boolean IsUsed()
          This mehod read value from parmeter isUsed
 java.lang.String readFromBuffer()
          This method read value from parameter buffer
 void setUsed()
          This method set the value of patameter isUsed
 void writeToBuffer(java.lang.String msg)
          This method write system out to parameter buffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BufferOctopusClass getInstance()
Returns the single instance, creating one if it's the first time this method is called.

Returns:
BufferClass The single instance.

writeToBuffer

public void writeToBuffer(java.lang.String msg)
This method write system out to parameter buffer

Parameters:
msg - is parameter value

readFromBuffer

public java.lang.String readFromBuffer()
This method read value from parameter buffer

Returns:
parameter value

IsUsed

public boolean IsUsed()
This mehod read value from parmeter isUsed

Returns:
value of parameter

empty

public void empty()
This method clear parameter bufrrer


setUsed

public void setUsed()
This method set the value of patameter isUsed



Copyright © 2002-2007 Together - the Workgroup. All Rights Reserved.