wicket.util.file
Class Folder

java.lang.Object
  extended byjava.io.File
      extended bywicket.util.file.File
          extended bywicket.util.file.Folder
All Implemented Interfaces:
java.lang.Comparable, IModifiable, java.io.Serializable

public final class Folder
extends File

This folder subclass provides some type safety and extensibility for "files" that hold other files.

Author:
Jonathan Locke
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
Folder(File parent, java.lang.String child)
          Constructor.
Folder(java.lang.String pathname)
          Constructor.
Folder(java.lang.String parent, java.lang.String child)
          Constructor.
Folder(java.net.URI uri)
          Constructor.
 
Methods inherited from class wicket.util.file.File
lastModifiedTime, remove, writeTo
 
Methods inherited from class java.io.File
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Folder

public Folder(java.lang.String pathname)
Constructor.

Parameters:
pathname - path name

Folder

public Folder(java.lang.String parent,
              java.lang.String child)
Constructor.

Parameters:
parent - parent
child - child

Folder

public Folder(File parent,
              java.lang.String child)
Constructor.

Parameters:
parent - parent
child - child

Folder

public Folder(java.net.URI uri)
Constructor.

Parameters:
uri - folder uri


Copyright © 2004-2005 Wicket developers. All Rights Reserved.