Login | Register
My pages Projects Community openCollabNet
CyberWebForm 2.0

cyber.web.form
Class FileConfigSource

java.lang.Object
  |
  +--cyber.web.form.FileConfigSource
All Implemented Interfaces:
ConfigSource

public class FileConfigSource
extends Object
implements ConfigSource

Author:
cying To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Constructor Summary
FileConfigSource(File file)
           
FileConfigSource(String fileName)
           
 
Method Summary
 String getDescription()
           
 InputStream getInputStream()
           
 URL getURL()
           
 boolean isConfigModified(long lastUpdateTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileConfigSource

public FileConfigSource(String fileName)

FileConfigSource

public FileConfigSource(File file)
Method Detail

getInputStream

public InputStream getInputStream()
                           throws FileNotFoundException
Specified by:
getInputStream in interface ConfigSource
Returns:
 

getDescription

public String getDescription()
Specified by:
getDescription in interface ConfigSource

isConfigModified

public boolean isConfigModified(long lastUpdateTime)
Specified by:
isConfigModified in interface ConfigSource

getURL

public URL getURL()
Specified by:
getURL in interface ConfigSource

CyberWebForm 2.0

Copyright 2000-2002 Apache Software Foundation.