com.sun.tools.ws.processor.util
Class DirectoryUtil

java.lang.Object
  extended by com.sun.tools.ws.processor.util.DirectoryUtil

public class DirectoryUtil
extends java.lang.Object

Util provides static utility methods used by other wscompile classes.

Author:
WS Development Team

Constructor Summary
DirectoryUtil()
           
 
Method Summary
static java.io.File getOutputDirectoryFor(java.lang.String theClass, java.io.File rootDir)
           
static java.lang.String getRelativePathfromCommonBase(java.io.File file, java.io.File base)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryUtil

public DirectoryUtil()
Method Detail

getOutputDirectoryFor

public static java.io.File getOutputDirectoryFor(java.lang.String theClass,
                                                 java.io.File rootDir)
                                          throws GeneratorException
Throws:
GeneratorException

getRelativePathfromCommonBase

public static java.lang.String getRelativePathfromCommonBase(java.io.File file,
                                                             java.io.File base)
                                                      throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.