| java.lang.Object org.netbeans.lib.profiler.common.integration.IntegrationUtils
IntegrationUtils | public class IntegrationUtils (Code) | | Utils for platform- and settings-specific integration instructions.
author: Tomas Hurka author: Jiri Sedlacek |
Method Summary | |
public static boolean | backupFile(File file) | public static boolean | copyFile(File sourceFile, File targetFile) | public static boolean | fileBackupExists(File file) | public static String | getAddProfilerLibrariesToPathString(String targetPlatform, String targetJVM, boolean isRemote, boolean formatAsHTML) | public static String | getAssignEnvVariableValueString(String targetPlatform, String variableName, String variableValue) | public static String | getBatchExtensionString(String targetPlatform) | public static String | getCPUReduceOverheadHint() | public static String | getDirectorySeparator(String targetPlatform) | public static String | getEnvVariableReference(String envVariable, String targetPlatform) | public static String | getExportCommandString(String targetPlatform) | public static String | getExportEnvVariableValueString(String targetPlatform, String variableName, String variableValue, boolean formatAsHTML) | public static String | getExportVSSetenvNote() | public static String | getJavaPlatformFromJavaVersionString(String javaVersionString) | public static String | getJavaPlatformName(String javaPlatform) | public static String | getJavaPlatformNativeLibrariesDirectoryName(String javaPlatform) | public static String | getLibsDir(String targetPlatform, boolean isRemote) | public static String | getLineBreak(String targetPlatform) | public static String | getLocalJavaPlatform() | public static String | getLocalPlatform(int architecture) | public static String | getManualRemoteStep1(String targetOS, String targetJVM) | public static String | getManualRemoteStep2(String targetOS, String targetJVM) | public static String | getNativeLibrariesPath(String targetPlatform, String targetJVM, boolean isRemote) | public static String | getNativePathEnvVariableString(String targetPlatform) | public static String | getOSPlatformNativeLibrariesDirectoryName(String targetPlatform, boolean isRemote) | public static String | getPathSeparator(String targetPlatform) | public static String | getProfilerAgentCommandLineArgs(String targetPlatform, String targetJVM, boolean isRemote, int portNumber) | public static String | getProfilerAgentCommandLineArgsWithoutQuotes(String targetPlatform, String targetJVM, boolean isRemote, int portNumber) | public static String | getProfilerAgentLibraryFile(String targetPlatform) | public static String | getProfilerModifiedFileHeader(String targetPlatform) | public static String | getProfilerModifiedReplaceFileHeader(String targetPlatform) | public static String | getRemoteAbsolutePathHint() | public static String | getRemoteCalibrateCommandString(String targetPlatform) | public static String | getRemoteProfileCommandString(String targetPlatform) | public static String | getScriptCommentSign(String targetPlatform) | public static String | getSilentScriptCommentSign(String targetPlatform) | public static String | getSpacesInPathWarning() | public static String | getTargetTypeName(String targetType, boolean startsUpperCase) | public static String | getXMLCommendEndSign() | public static String | getXMLCommentStartSign() | public static boolean | isFileModifiedForProfiler(File file) | public static boolean | isWindowsPlatform(String targetPlatform) | public static boolean | restoreFile(File file) |
FILE_BACKUP_EXTENSION | final public static String FILE_BACKUP_EXTENSION(Code) | | |
MODIFIED_FOR_PROFILER_STRING | final public static String MODIFIED_FOR_PROFILER_STRING(Code) | | |
ORIGINAL_BACKUP_LOCATION_STRING | final public static String ORIGINAL_BACKUP_LOCATION_STRING(Code) | | |
PLATFORM_JAVA_50 | final public static String PLATFORM_JAVA_50(Code) | | |
PLATFORM_JAVA_60 | final public static String PLATFORM_JAVA_60(Code) | | |
PLATFORM_JAVA_70 | final public static String PLATFORM_JAVA_70(Code) | | |
PLATFORM_LINUX_AMD64_OS | final public static String PLATFORM_LINUX_AMD64_OS(Code) | | |
PLATFORM_LINUX_OS | final public static String PLATFORM_LINUX_OS(Code) | | |
PLATFORM_MAC_OS | final public static String PLATFORM_MAC_OS(Code) | | |
PLATFORM_SOLARIS_AMD64_OS | final public static String PLATFORM_SOLARIS_AMD64_OS(Code) | | |
PLATFORM_SOLARIS_INTEL_OS | final public static String PLATFORM_SOLARIS_INTEL_OS(Code) | | |
PLATFORM_SOLARIS_SPARC64_OS | final public static String PLATFORM_SOLARIS_SPARC64_OS(Code) | | |
PLATFORM_SOLARIS_SPARC_OS | final public static String PLATFORM_SOLARIS_SPARC_OS(Code) | | |
PLATFORM_WINDOWS_AMD64_OS | final public static String PLATFORM_WINDOWS_AMD64_OS(Code) | | |
PLATFORM_WINDOWS_OS | final public static String PLATFORM_WINDOWS_OS(Code) | | |
backupFile | public static boolean backupFile(File file)(Code) | | |
copyFile | public static boolean copyFile(File sourceFile, File targetFile)(Code) | | |
fileBackupExists | public static boolean fileBackupExists(File file)(Code) | | |
getAddProfilerLibrariesToPathString | public static String getAddProfilerLibrariesToPathString(String targetPlatform, String targetJVM, boolean isRemote, boolean formatAsHTML)(Code) | | |
getAssignEnvVariableValueString | public static String getAssignEnvVariableValueString(String targetPlatform, String variableName, String variableValue)(Code) | | |
getBatchExtensionString | public static String getBatchExtensionString(String targetPlatform)(Code) | | |
getCPUReduceOverheadHint | public static String getCPUReduceOverheadHint()(Code) | | |
getDirectorySeparator | public static String getDirectorySeparator(String targetPlatform)(Code) | | |
getExportCommandString | public static String getExportCommandString(String targetPlatform)(Code) | | |
getExportEnvVariableValueString | public static String getExportEnvVariableValueString(String targetPlatform, String variableName, String variableValue, boolean formatAsHTML)(Code) | | |
getExportVSSetenvNote | public static String getExportVSSetenvNote()(Code) | | |
getJavaPlatformFromJavaVersionString | public static String getJavaPlatformFromJavaVersionString(String javaVersionString)(Code) | | |
getJavaPlatformNativeLibrariesDirectoryName | public static String getJavaPlatformNativeLibrariesDirectoryName(String javaPlatform)(Code) | | |
getLocalJavaPlatform | public static String getLocalJavaPlatform()(Code) | | |
getLocalPlatform | public static String getLocalPlatform(int architecture)(Code) | | |
getNativeLibrariesPath | public static String getNativeLibrariesPath(String targetPlatform, String targetJVM, boolean isRemote)(Code) | | |
getNativePathEnvVariableString | public static String getNativePathEnvVariableString(String targetPlatform)(Code) | | |
getOSPlatformNativeLibrariesDirectoryName | public static String getOSPlatformNativeLibrariesDirectoryName(String targetPlatform, boolean isRemote)(Code) | | |
getProfilerAgentCommandLineArgs | public static String getProfilerAgentCommandLineArgs(String targetPlatform, String targetJVM, boolean isRemote, int portNumber)(Code) | | |
getProfilerAgentCommandLineArgsWithoutQuotes | public static String getProfilerAgentCommandLineArgsWithoutQuotes(String targetPlatform, String targetJVM, boolean isRemote, int portNumber)(Code) | | |
getProfilerAgentLibraryFile | public static String getProfilerAgentLibraryFile(String targetPlatform)(Code) | | |
getProfilerModifiedFileHeader | public static String getProfilerModifiedFileHeader(String targetPlatform)(Code) | | |
getProfilerModifiedReplaceFileHeader | public static String getProfilerModifiedReplaceFileHeader(String targetPlatform)(Code) | | |
getRemoteAbsolutePathHint | public static String getRemoteAbsolutePathHint()(Code) | | |
getRemoteCalibrateCommandString | public static String getRemoteCalibrateCommandString(String targetPlatform)(Code) | | |
getRemoteProfileCommandString | public static String getRemoteProfileCommandString(String targetPlatform)(Code) | | |
getScriptCommentSign | public static String getScriptCommentSign(String targetPlatform)(Code) | | |
getSilentScriptCommentSign | public static String getSilentScriptCommentSign(String targetPlatform)(Code) | | |
getSpacesInPathWarning | public static String getSpacesInPathWarning()(Code) | | |
getTargetTypeName | public static String getTargetTypeName(String targetType, boolean startsUpperCase)(Code) | | |
getXMLCommendEndSign | public static String getXMLCommendEndSign()(Code) | | |
getXMLCommentStartSign | public static String getXMLCommentStartSign()(Code) | | |
isFileModifiedForProfiler | public static boolean isFileModifiedForProfiler(File file)(Code) | | |
isWindowsPlatform | public static boolean isWindowsPlatform(String targetPlatform)(Code) | | |
restoreFile | public static boolean restoreFile(File file)(Code) | | |
|
|