This method first checks if there is a security manager installed. If so, the method calls the security manager's checkRead
method with the specified file to ensure that the image creation is allowed.
@param filename the name of a file containing pixel datain a recognized file format.
@return an image which gets its pixel data fromthe specified file.
@throws SecurityException if a security manager exists and itscheckRead method doesn't allow the operation.
@see #getImage(java.lang.String)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|