Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

sync4j.framework.core
Class MemoryInfo  view MemoryInfo download MemoryInfo.java

java.lang.Object
  extended bysync4j.framework.core.MemoryInfo

public final class MemoryInfo
extends java.lang.Object

corresponds to <Mem> tag in SyncML metinf DTD

Version:
$Id: MemoryInfo.java,v 1.3 2003/02/25 10:59:07 stefano_fornari Exp $

Field Summary
private  boolean m_bMemoryIsShared
           
private  long m_lFreeItemIdentifierCount
           
private  long m_lFreeMemoryInBytes
           
 
Constructor Summary
  MemoryInfo(boolean bMemoryIsShared, long lFreeMemoryInBytes, long lFreeItemIdentifierCount)
           
(package private) MemoryInfo(sync4j.framework.core.xml.Element eMem)
           
 
Method Summary
 long getFreeItemIdentifierCount()
           
 long getFreeMemoryInBytes()
           
 boolean isMemoryShared()
           
(package private)  java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_bMemoryIsShared

private boolean m_bMemoryIsShared

m_lFreeMemoryInBytes

private long m_lFreeMemoryInBytes

m_lFreeItemIdentifierCount

private long m_lFreeItemIdentifierCount
Constructor Detail

MemoryInfo

public MemoryInfo(boolean bMemoryIsShared,
                  long lFreeMemoryInBytes,
                  long lFreeItemIdentifierCount)

MemoryInfo

MemoryInfo(sync4j.framework.core.xml.Element eMem)
     throws RepresentationException
Method Detail

isMemoryShared

public boolean isMemoryShared()

getFreeMemoryInBytes

public long getFreeMemoryInBytes()

getFreeItemIdentifierCount

public long getFreeItemIdentifierCount()

toXML

java.lang.String toXML()