Udostępnij za pośrednictwem


StreamResult.SetSystemId(File) Method

Definition

Set the system ID from a File reference.

[Android.Runtime.Register("setSystemId", "(Ljava/io/File;)V", "GetSetSystemId_Ljava_io_File_Handler")]
public virtual void SetSystemId (Java.IO.File? f);
[<Android.Runtime.Register("setSystemId", "(Ljava/io/File;)V", "GetSetSystemId_Ljava_io_File_Handler")>]
abstract member SetSystemId : Java.IO.File -> unit
override this.SetSystemId : Java.IO.File -> unit

Parameters

f
File

Must a non-null File reference.

Attributes

Remarks

Set the system ID from a File reference.

Note the use of File#toURI() and File#toURL(). toURI() is preferred and used if possible. To allow JAXP 1.3 to run on J2SE 1.3, toURL() is used if a NoSuchMethodException is thrown by the attempt to use toURI().

Java documentation for javax.xml.transform.stream.StreamResult.setSystemId(java.io.File).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to