站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

DirectoryBuilder (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


org.jboss.util
Class DirectoryBuilder

java.lang.Object
  extended byorg.jboss.util.DirectoryBuilder

public class DirectoryBuilder
extends Object

A simple utility to make it easier to build File objects for nested directories based on the command line 'cd' pattern.

Version:
$Revision: 1.1 $
Author:
Jason Dillon

Field Summary
protected  File root
           
 
Constructor Summary
DirectoryBuilder()
           
DirectoryBuilder(File root)
           
DirectoryBuilder(File root, File child)
           
DirectoryBuilder(String rootname)
           
DirectoryBuilder(String rootname, String childname)
           
 
Method Summary
 DirectoryBuilder cd(File child)
           
 DirectoryBuilder cd(String childname)
           
 File get()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

root

protected File root
Constructor Detail

DirectoryBuilder

public DirectoryBuilder()

DirectoryBuilder

public DirectoryBuilder(File root)

DirectoryBuilder

public DirectoryBuilder(File root,
                        File child)

DirectoryBuilder

public DirectoryBuilder(String rootname)

DirectoryBuilder

public DirectoryBuilder(String rootname,
                        String childname)
Method Detail

cd

public DirectoryBuilder cd(File child)

cd

public DirectoryBuilder cd(String childname)

get

public File get()

toString

public String toString()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.