org.millstone.webadapter
Class Theme.File

java.lang.Object
  |
  +--org.millstone.webadapter.Theme.File
Direct Known Subclasses:
Theme.Fileset
Enclosing class:
Theme

public class Theme.File
extends java.lang.Object

Theme XSL file description Description of a single XSL file included a theme.

Since:
3.0
Version:
3.0.3
Author:
IT Mill Ltd.

Constructor Summary
Theme.File(java.lang.String name)
          Create new file.
 
Method Summary
 java.lang.String getName()
          Get name of the file.
 boolean supports(WebBrowser terminal)
          Does this file support the given terminal.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Theme.File

public Theme.File(java.lang.String name)
Create new file.

Parameters:
name - Name of the file.
Method Detail

getName

public java.lang.String getName()
Get name of the file. The file name is relative and unique within a theme.

Returns:
Name of the file.

supports

public boolean supports(WebBrowser terminal)
Does this file support the given terminal. Single file requirements are not supported and therefore this always returns true.

Returns:
Always returns true.
See Also:
Theme.Fileset

toString

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


Copyright © 2000,2001,2002 IT Mill Ltd. All Rights Reserved.