openlsd.web.legacy.LSDWebStorage Class Reference

Collaboration diagram for openlsd.web.legacy.LSDWebStorage:

Collaboration graph
[legend]

List of all members.


Detailed Description

Class to manipulate Storage from Web Admin
Author:
Frederic Bregier LGPL

Public Member Functions

 LSDWebStorage (String basepath, long sid)
double[] getGlobalUsedFreeSpace ()
double getUsedSpace ()
void clean ()

Public Attributes

long SID = LSDConstants.invalide_idx
String subpath = null
String globalpath = null

Constructor & Destructor Documentation

openlsd.web.legacy.LSDWebStorage.LSDWebStorage ( String  basepath,
long  sid 
)

Create a new WebStorage using the storage id.

Parameters:
basepath 
sid 


Member Function Documentation

double [] openlsd.web.legacy.LSDWebStorage.getGlobalUsedFreeSpace (  ) 

Get the Global Used and Free space in KB

Returns:
the global and used and free space in KB in long[] or null in error

double openlsd.web.legacy.LSDWebStorage.getUsedSpace (  ) 

Get the Used space in KB

Returns:
the used space in KB

void openlsd.web.legacy.LSDWebStorage.clean (  ) 

Clean the object


Member Data Documentation

Storage Id

Sub Path up to Storage

Global Path


The documentation for this class was generated from the following file: