com.sun.electric.lib
Class LibFile

java.lang.Object
  extended by com.sun.electric.lib.LibFile

public class LibFile
extends java.lang.Object

Class to manage files in the "library area" of Electric


Method Summary
static java.net.URL getLibFile(java.lang.String fileName)
          Method to find a library file.
static java.lang.String[] getSpicePartsLibraries()
          Method to find all files that are SPICE parts libraries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLibFile

public static java.net.URL getLibFile(java.lang.String fileName)
Method to find a library file.

Parameters:
fileName - the name of the file in the library area. These files are typically readable dumps of essential files used by everyone.
Returns:
the file path.

getSpicePartsLibraries

public static java.lang.String[] getSpicePartsLibraries()
Method to find all files that are SPICE parts libraries. These are the resources in this package that begin with the name "spiceparts".

Returns:
an array of strings that name the SPICE parts libraries.