| java.lang.Object org.netbeans.installer.utils.system.NativeUtils
All known Subclasses: org.netbeans.installer.utils.system.WindowsNativeUtils, org.netbeans.installer.utils.system.UnixNativeUtils,
NativeUtils | abstract public class NativeUtils (Code) | | author: Kirill Sorokin |
Method Summary | |
abstract public FilesList | addComponentToSystemInstallManager(ApplicationDescriptor descriptor) | final public void | addDeleteOnExitFile(File file) | public void | addUninstallerJVM(LauncherResource jvm) | public boolean | checkFileAccess(File file, boolean isReadNotModify) | abstract public void | correctFilesPermissions(File parent) | abstract public File | createShortcut(Shortcut shortcut, LocationType locationType) | protected Launcher | createUninstaller(ApplicationDescriptor descriptor, boolean uninstall, Progress progress) | abstract public List<File> | findExecutableFiles(File parent) | abstract public List<File> | findIrrelevantFiles(File parent) | abstract public File | getDefaultApplicationsLocation() | protected OnExitCleanerHandler | getDeleteOnExitHandler() | abstract public String | getEnvironmentVariable(String name, EnvironmentScope scope, boolean expand) | abstract public List<File> | getFileSystemRoots() | abstract public long | getFreeSpace(File file) | public static synchronized NativeUtils | getInstance() | abstract public int | getPermissions(File file) | public File | getRoot(File file) | abstract public File | getShortcutLocation(Shortcut shortcut, LocationType locationType) | protected void | initializeForbiddenFiles(String... filepaths) | abstract public boolean | isCurrentUserAdmin() | public boolean | isDeletingAllowed(File file) | abstract public boolean | isPathValid(String path) | abstract public boolean | isUNCPath(String path) | protected void | loadNativeLibrary(String path) | protected OnExitCleanerHandler | newDeleteOnExitCleanerHandler() | abstract public void | removeComponentFromSystemInstallManager(ApplicationDescriptor descriptor) | final public void | removeDeleteOnExitFile(File file) | abstract public void | removeShortcut(Shortcut shortcut, LocationType locationType, boolean deleteEmptyParents) | abstract public void | setEnvironmentVariable(String name, String value, EnvironmentScope scope, boolean expand) | abstract public void | setPermissions(File file, int mode, int change) |
FA_MODE_ADD | final public static int FA_MODE_ADD(Code) | | |
FA_MODE_REMOVE | final public static int FA_MODE_REMOVE(Code) | | |
FA_MODE_SET | final public static int FA_MODE_SET(Code) | | |
NATIVE_CLEANER_RESOURCE_SUFFIX | final public static String NATIVE_CLEANER_RESOURCE_SUFFIX(Code) | | |
NATIVE_JNILIB_RESOURCE_SUFFIX | final public static String NATIVE_JNILIB_RESOURCE_SUFFIX(Code) | | |
NATIVE_LAUNCHER_RESOURCE_SUFFIX | final public static String NATIVE_LAUNCHER_RESOURCE_SUFFIX(Code) | | |
NATIVE_RESOURCE_SUFFIX | final public static String NATIVE_RESOURCE_SUFFIX(Code) | | |
NativeUtils | protected NativeUtils()(Code) | | |
addDeleteOnExitFile | final public void addDeleteOnExitFile(File file)(Code) | | |
correctFilesPermissions | abstract public void correctFilesPermissions(File parent) throws IOException(Code) | | |
initializeForbiddenFiles | protected void initializeForbiddenFiles(String... filepaths)(Code) | | |
isDeletingAllowed | public boolean isDeletingAllowed(File file)(Code) | | |
isPathValid | abstract public boolean isPathValid(String path)(Code) | | |
isUNCPath | abstract public boolean isUNCPath(String path)(Code) | | |
loadNativeLibrary | protected void loadNativeLibrary(String path)(Code) | | |
removeDeleteOnExitFile | final public void removeDeleteOnExitFile(File file)(Code) | | |
setPermissions | abstract public void setPermissions(File file, int mode, int change) throws IOException(Code) | | |
|
|