org.opencms.staticexport
Class CmsStaticExportData

java.lang.Object
  extended by org.opencms.staticexport.CmsStaticExportData

public class CmsStaticExportData
extends java.lang.Object

Provides a data structure for the result of an export request.

Since:
6.0.0
Version:
$Revision: 1.19 $
Author:
Alexander Kandzior

Constructor Summary
CmsStaticExportData(java.lang.String vfsName, java.lang.String parameters)
          Creates a new static export data object for use in the cache.
CmsStaticExportData(java.lang.String vfsName, java.lang.String rfsName, CmsResource resource)
          Creates a new static export data object.
CmsStaticExportData(java.lang.String vfsName, java.lang.String rfsName, CmsResource resource, java.lang.String parameters)
          Creates a new static export data object.
 
Method Summary
 java.lang.String getParameters()
          Return the parameters of the resource to export.
 CmsResource getResource()
          Returns the resource to export.
 java.lang.String getRfsName()
          Returns the rfs name of the resource to export.
 java.lang.String getVfsName()
          Returns the vfs name of the resource to export.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CmsStaticExportData

public CmsStaticExportData(java.lang.String vfsName,
                           java.lang.String parameters)
Creates a new static export data object for use in the cache.

Parameters:
vfsName - the vfs name of the resource
parameters - the parameter string of a resource

CmsStaticExportData

public CmsStaticExportData(java.lang.String vfsName,
                           java.lang.String rfsName,
                           CmsResource resource)
Creates a new static export data object.

Parameters:
vfsName - the vfs name of the resource
rfsName - the rfs name of the resource
resource - the resource object

CmsStaticExportData

public CmsStaticExportData(java.lang.String vfsName,
                           java.lang.String rfsName,
                           CmsResource resource,
                           java.lang.String parameters)
Creates a new static export data object.

Parameters:
vfsName - the vfs name of the resource
rfsName - the rfs name of the resource
resource - the resource object
parameters - the parameter string of a resource
Method Detail

getParameters

public java.lang.String getParameters()
Return the parameters of the resource to export.

Returns:
the parameter map

getResource

public CmsResource getResource()
Returns the resource to export.

Returns:
the resource to export

getRfsName

public java.lang.String getRfsName()
Returns the rfs name of the resource to export.

Returns:
the rfs name of the resource to export

getVfsName

public java.lang.String getVfsName()
Returns the vfs name of the resource to export.

Returns:
the vfs name of the resource to export

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()