| java.lang.Object org.netbeans.installer.utils.system.NativeUtils org.netbeans.installer.utils.system.WindowsNativeUtils
WindowsNativeUtils | public class WindowsNativeUtils extends NativeUtils (Code) | | author: Dmitry Lipin author: Kirill Sorokin |
Method Summary | |
public FilesList | addComponentToSystemInstallManager(ApplicationDescriptor descriptor) | public boolean | checkFileAccess(File file, boolean isReadNotModify) | public void | correctFilesPermissions(File parent) | public File | createShortcut(Shortcut shortcut, LocationType locationType) | protected void | createURLShortcut(InternetShortcut shortcut) | public void | deleteFileOnReboot(File file) | public List<File> | findExecutableFiles(File parent) | public List<File> | findIrrelevantFiles(File parent) | public File | getDefaultApplicationsLocation() | public String | getEnvironmentVariable(String name, EnvironmentScope scope, boolean expand) | public List<File> | getFileSystemRoots() | public long | getFreeSpace(File file) | public int | getPermissions(File file) | public File | getRoot(File file) | public File | getShortcutLocation(Shortcut shortcut, LocationType locationType) | public WindowsRegistry | getWindowsRegistry() | public boolean | isCurrentUserAdmin() | public boolean | isPathValid(String path) | public boolean | isUNCPath(String path) | protected OnExitCleanerHandler | newDeleteOnExitCleanerHandler() | public void | removeComponentFromSystemInstallManager(ApplicationDescriptor descriptor) | public synchronized void | removeFileAssociation(FileExtension ext, SystemApplication app, Properties props) | public void | removeShortcut(Shortcut shortcut, LocationType locationType, boolean cleanupParents) | public void | setEnvironmentVariable(String name, String value, EnvironmentScope scope, boolean expand) | public synchronized void | setFileAssociation(FileExtension ext, SystemApplication app, Properties props) | public void | setPermissions(File file, int mode, int change) |
ALL_USERS_ENVIRONMENT_KEY | final public static String ALL_USERS_ENVIRONMENT_KEY(Code) | | |
CURRENT_USER_ENVIRONMENT_KEY | final public static String CURRENT_USER_ENVIRONMENT_KEY(Code) | | |
DEFAULT_OPEN_COMMAND | final public static String DEFAULT_OPEN_COMMAND(Code) | | |
INSTALL_LOCATION | final public static String INSTALL_LOCATION(Code) | | |
LIBRARY_PATH_X64 | final public static String LIBRARY_PATH_X64(Code) | | |
LIBRARY_PATH_X86 | final public static String LIBRARY_PATH_X86(Code) | | |
UNINSTALL_STRING | final public static String UNINSTALL_STRING(Code) | | |
WindowsNativeUtils | WindowsNativeUtils()(Code) | | |
correctFilesPermissions | public void correctFilesPermissions(File parent)(Code) | | |
Methods inherited from org.netbeans.installer.utils.system.NativeUtils | abstract public FilesList addComponentToSystemInstallManager(ApplicationDescriptor descriptor) throws NativeException(Code)(Java Doc) final public void addDeleteOnExitFile(File file)(Code)(Java Doc) public void addUninstallerJVM(LauncherResource jvm)(Code)(Java Doc) public boolean checkFileAccess(File file, boolean isReadNotModify) throws NativeException(Code)(Java Doc) abstract public void correctFilesPermissions(File parent) throws IOException(Code)(Java Doc) abstract public File createShortcut(Shortcut shortcut, LocationType locationType) throws NativeException(Code)(Java Doc) protected Launcher createUninstaller(ApplicationDescriptor descriptor, boolean uninstall, Progress progress) throws IOException(Code)(Java Doc) abstract public List<File> findExecutableFiles(File parent) throws IOException(Code)(Java Doc) abstract public List<File> findIrrelevantFiles(File parent) throws IOException(Code)(Java Doc) abstract public File getDefaultApplicationsLocation() throws NativeException(Code)(Java Doc) protected OnExitCleanerHandler getDeleteOnExitHandler()(Code)(Java Doc) abstract public String getEnvironmentVariable(String name, EnvironmentScope scope, boolean expand) throws NativeException(Code)(Java Doc) abstract public List<File> getFileSystemRoots() throws IOException(Code)(Java Doc) abstract public long getFreeSpace(File file) throws NativeException(Code)(Java Doc) public static synchronized NativeUtils getInstance()(Code)(Java Doc) abstract public int getPermissions(File file) throws IOException(Code)(Java Doc) public File getRoot(File file)(Code)(Java Doc) abstract public File getShortcutLocation(Shortcut shortcut, LocationType locationType) throws NativeException(Code)(Java Doc) protected void initializeForbiddenFiles(String... filepaths)(Code)(Java Doc) abstract public boolean isCurrentUserAdmin() throws NativeException(Code)(Java Doc) public boolean isDeletingAllowed(File file)(Code)(Java Doc) abstract public boolean isPathValid(String path)(Code)(Java Doc) abstract public boolean isUNCPath(String path)(Code)(Java Doc) protected void loadNativeLibrary(String path)(Code)(Java Doc) protected OnExitCleanerHandler newDeleteOnExitCleanerHandler()(Code)(Java Doc) abstract public void removeComponentFromSystemInstallManager(ApplicationDescriptor descriptor) throws NativeException(Code)(Java Doc) final public void removeDeleteOnExitFile(File file)(Code)(Java Doc) abstract public void removeShortcut(Shortcut shortcut, LocationType locationType, boolean deleteEmptyParents) throws NativeException(Code)(Java Doc) abstract public void setEnvironmentVariable(String name, String value, EnvironmentScope scope, boolean expand) throws NativeException(Code)(Java Doc) abstract public void setPermissions(File file, int mode, int change) throws IOException(Code)(Java Doc)
|
|
|