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

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

public class Theme.Fileset
extends Theme.File

A recursive set of files sharing the same requirements.

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

Constructor Summary
Theme.Fileset(String mode)
          Creates a new empty fileset.
 
Method Summary
 List getFileNames()
          Gets the list of all files in this theme.
 List getFileNames(WebBrowser terminal, String mode)
          Gets the list of file names matching WebBrowserType.
 boolean supports(WebBrowser terminal)
          Does this file support the given terminal.
 String toString()
           
 
Methods inherited from class com.itmill.toolkit.terminal.web.Theme.File
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Theme.Fileset

public Theme.Fileset(String mode)
Creates a new empty fileset.

Parameters:
mode -
Method Detail

getFileNames

public List getFileNames()
Gets the list of all files in this theme.

Returns:
the list of filenames.

getFileNames

public List getFileNames(WebBrowser terminal,
                         String mode)
Gets the list of file names matching WebBrowserType.

Parameters:
terminal - the type of the web browser.
mode -
Returns:
the list of filenames supporting the given terminal.

supports

public boolean supports(WebBrowser terminal)
Does this file support the given terminal.

Overrides:
supports in class Theme.File
Parameters:
terminal - the type of the web browser.
Returns:
True if fileset supports the given browser. False otherwise.
See Also:
Theme.Fileset

toString

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


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