com.itmill.toolkit.terminal.web
Class Theme.File

java.lang.Object
  extended by com.itmill.toolkit.terminal.web.Theme.File
Direct Known Subclasses:
Theme.Fileset
Enclosing class:
Theme

public class Theme.File
extends Object

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

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

Constructor Summary
Theme.File(String name)
          Creates a new file.
 
Method Summary
 String getName()
          Gets the name of the file.
 boolean supports(WebBrowser terminal)
          Does this file support the given terminal.
 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(String name)
Creates a new file.

Parameters:
name - the Name of the file.
Method Detail

getName

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

Returns:
the 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.

Parameters:
terminal - the type of the web browser.
Returns:
Always returns true.
See Also:
Theme.Fileset

toString

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


Copyright © 2000-2008 IT Mill Ltd. All Rights Reserved.