Package com.dassault_systemes.PortalNative.PLNtools |
java.lang.Object
|
+-com.dassault_systemes.PortalNative.PLNtools.SecurityServices
Framework : PortalNative
Module : PLNtools
public class SecurityServices
This class manages security permissions on the browsers.
get
SecurityServices get()
Returns the unique instance of this class
newFileOutputStream
FileOutputStream newFileOutputStream(File file)
Browser-correct way to obtain a file output stream
newFileInputStream
FileInputStream newFileInputStream(File file)
Browser-correct way to obtain a file input stream
newFile
File newFile(String filename)
Gets a root file, guaranted to be usable from a signed applet
- Parameters:
filename
- name of the file
exec
Process exec(String[] cmdarray, String[] envp)
Executes a process
- Parameters:
cmdarray
- command and parameters to execute
envp
- environment variables
- Returns:
a process
connect
void connect(URLConnection connection)
Connects the URLConnection.
After, you can do getContentType, getContentLength, openStream on it etc...
getSystemProperty
String getSystemProperty(String name)
Returns a system property like java.lang.System.getProperty
Copyright © 2000, Dassault Systèmes. All rights reserved