com.sun.electric.tool.io.input
Class LibDirs

java.lang.Object
  extended by com.sun.electric.tool.io.input.LibDirs

public class LibDirs
extends java.lang.Object

Class for reading a text file that specifies additional library directories from which to read in library (elib) files.

LibDirs files have the following syntax:

*

include


Nested Class Summary
static class LibDirs.LibDirFileSystemView
          Allow JFileChooser to see libdir references as files.
static class LibDirs.LibDirFileView
          Allow File Chooser to see libdir references as files.
 
Method Summary
static java.util.Iterator<java.lang.String> getLibDirs()
          return list of Lib Dirs
static LibDirs.LibDirFileSystemView newLibDirFileSystemView(javax.swing.filechooser.FileSystemView osView)
           
static boolean readLibDirs(java.lang.String dir)
          Read in LibDirs file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLibDirs

public static java.util.Iterator<java.lang.String> getLibDirs()
return list of Lib Dirs

Returns:
ArrayList of lib dirs

readLibDirs

public static boolean readLibDirs(java.lang.String dir)
Read in LibDirs file.

Parameters:
dir - the directory that may contain a LIBDIRS file
Returns:
true on error, or no LIBDIRS file found.

newLibDirFileSystemView

public static LibDirs.LibDirFileSystemView newLibDirFileSystemView(javax.swing.filechooser.FileSystemView osView)