org.eclipse.wst.jsdt.core.compiler.libraries
Class SystemLibraryLocation
java.lang.Object
org.eclipse.wst.jsdt.core.compiler.libraries.SystemLibraryLocation
- All Implemented Interfaces:
- LibraryLocation
public class SystemLibraryLocation
- extends Object
- implements LibraryLocation
Provisional API: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYSTEM_LIBARAY_NAME
public static final char[] SYSTEM_LIBARAY_NAME
LIBRARY_RUNTIME_DIRECTORY
public static final char[] LIBRARY_RUNTIME_DIRECTORY
LIBRARY_PLUGIN_DIRECTORY
public static final char[] LIBRARY_PLUGIN_DIRECTORY
SystemLibraryLocation
public SystemLibraryLocation()
getInstance
public static LibraryLocation getInstance()
getLibraryPathInPlugin
public IPath getLibraryPathInPlugin()
- Specified by:
getLibraryPathInPlugin
in interface LibraryLocation
- Returns:
- relative path within the plugin library files are stored
getLibraryFileNames
public char[][] getLibraryFileNames()
- Specified by:
getLibraryFileNames
in interface LibraryLocation
- Returns:
- a list of files in the library
getPluginId
protected String getPluginId()
getAllFilesInPluginDirectory
public char[][] getAllFilesInPluginDirectory(String directory)
getWorkingLibPath
public IPath getWorkingLibPath()
- Specified by:
getWorkingLibPath
in interface LibraryLocation
- Returns:
- working location to store library files.
getLibraryPath
public String getLibraryPath(String name)
- Specified by:
getLibraryPath
in interface LibraryLocation
- Returns:
- path to the given library name
getLibraryPath
public String getLibraryPath(char[] name)
- Specified by:
getLibraryPath
in interface LibraryLocation
- Returns:
- path to the given library name
copyFile
protected static void copyFile(InputStream src,
File dst)
throws IOException
- Throws:
IOException
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.