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

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

public class DirectoryUtil
extends Object

Util provides static utility methods used by other wscompile classes.


Constructor Summary
DirectoryUtil()
           
 
Method Summary
static File getOutputDirectoryFor(String theClass, File rootDir)
           
static String getRelativePathfromCommonBase(File file, 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 File getOutputDirectoryFor(String theClass,
                                         File rootDir)
                                  throws GeneratorException
Throws:
GeneratorException

getRelativePathfromCommonBase

public static String getRelativePathfromCommonBase(File file,
                                                   File base)
                                            throws IOException
Throws:
IOException


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.