org.millstone.webadapter
Class Theme.Fileset

java.lang.Object
  |
  +--org.millstone.webadapter.Theme.File
        |
        +--org.millstone.webadapter.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:
3.0.3
Author:
IT Mill Ltd.

Constructor Summary
Theme.Fileset(java.lang.String name)
          Create new empty fileset.
Theme.Fileset(java.lang.String name, java.util.Collection files)
          Create new fileset.
 
Method Summary
 java.util.List getFileNames()
          Get list of all files in this theme.
 java.util.List getFileNames(WebBrowser terminal)
          Get list of file names matching WebBrowserType.
 boolean supports(WebBrowser terminal)
          Does this file support the given terminal.
 java.lang.String toString()
           
 
Methods inherited from class org.millstone.webadapter.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(java.lang.String name)
Create new empty fileset.

Parameters:
name - Name of the fileset.

Theme.Fileset

public Theme.Fileset(java.lang.String name,
                     java.util.Collection files)
Create new fileset.

Parameters:
name - Name of the fileset.
files - Collection of files to include in the set.
Method Detail

getFileNames

public java.util.List getFileNames()
Get list of all files in this theme.

Returns:
list of filenames.

getFileNames

public java.util.List getFileNames(WebBrowser terminal)
Get list of file names matching WebBrowserType.

Returns:
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
Returns:
True if fileset supports the given browser. False otherwise.
See Also:
Theme.Fileset

toString

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


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