| java.lang.Object org.netbeans.installer.utils.system.NativeUtils org.netbeans.installer.utils.system.UnixNativeUtils
All known Subclasses: org.netbeans.installer.utils.system.MacOsNativeUtils, org.netbeans.installer.utils.system.LinuxNativeUtils, org.netbeans.installer.utils.system.SolarisNativeUtils,
UnixNativeUtils | abstract public class UnixNativeUtils extends NativeUtils (Code) | | author: Dmitry Lipin |
Inner Class :public static class FileAccessMode | |
Method Summary | |
public FilesList | addComponentToSystemInstallManager(ApplicationDescriptor descriptor) | public void | chmod(File file, String mode) | public void | chmod(File file, int mode) | public void | chmod(List<File> files, String mode) | public void | correctFilesPermissions(File parent) | public File | createShortcut(Shortcut shortcut, LocationType locationType) | public FilesList | createSymLink(File source, File target) | public FilesList | createSymLink(File source, File target, boolean useRelativePath) | public List<File> | findExecutableFiles(File parent) | public List<File> | findIrrelevantFiles(File parent) | public Shell | getCurrentShell() | public File | getDefaultApplicationsLocation() | protected List<String> | getDesktopEntry(InternetShortcut shortcut) | public String | getEnvironmentVariable(String name, EnvironmentScope scope, boolean flag) | public List<File> | getFileSystemRoots() | public long | getFreeSpace(File file) | public int | getPermissions(File file) | public File | getShortcutLocation(Shortcut shortcut, LocationType locationType) | protected void | initializeForbiddenFiles(String... files) | public boolean | isCurrentUserAdmin() | public boolean | isPathValid(String path) | public boolean | isUNCPath(String path) | protected OnExitCleanerHandler | newDeleteOnExitCleanerHandler() | public void | removeComponentFromSystemInstallManager(ApplicationDescriptor descriptor) | public void | removeIrrelevantFiles(File parent) | public void | removeShortcut(Shortcut shortcut, LocationType locationType, boolean cleanupParents) | public void | setEnvironmentVariable(String name, String value, EnvironmentScope scope, boolean flag) | public void | setPermissions(File file, int mode, int change) | public void | updateApplicationsMenu() |
DEFAULT_XDG_DATA_DIRS | final public static String DEFAULT_XDG_DATA_DIRS(Code) | | |
DEFAULT_XDG_DATA_HOME | final public static String DEFAULT_XDG_DATA_HOME(Code) | | |
XDG_DATA_DIRS_ENV_VARIABLE | final public static String XDG_DATA_DIRS_ENV_VARIABLE(Code) | | |
XDG_DATA_HOME_ENV_VARIABLE | final public static String XDG_DATA_HOME_ENV_VARIABLE(Code) | | |
getDefaultApplicationsLocation | public File getDefaultApplicationsLocation()(Code) | | |
getFreeSpace | public long getFreeSpace(File file)(Code) | | |
initializeForbiddenFiles | protected void initializeForbiddenFiles(String... files)(Code) | | |
updateApplicationsMenu | public void updateApplicationsMenu()(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)
|
|
|