org.apache.lenya.cms.publication
Class ResourceType.Sample

java.lang.Object
  extended by org.apache.lenya.cms.publication.ResourceType.Sample
Enclosing interface:
ResourceType

public static class ResourceType.Sample
extends java.lang.Object

A resource type sample.


Constructor Summary
protected ResourceType.Sample(java.lang.String name, java.lang.String mimeType, java.lang.String uri)
           
 
Method Summary
 java.lang.String getMimeType()
           
 java.lang.String getName()
           
 java.lang.String getUri()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceType.Sample

protected ResourceType.Sample(java.lang.String name,
                              java.lang.String mimeType,
                              java.lang.String uri)
Method Detail

getName

public java.lang.String getName()
Returns:
The name of the sample.

getMimeType

public java.lang.String getMimeType()
Returns:
The MIME type of the sample.

getUri

public java.lang.String getUri()
Returns:
The URI of the sample source.


Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.