C# Class ScriptRuntime.IO

�����ļ���д������
Inheritance: ScriptRuntime.Base
显示文件 Open project: Genesis-3D/Genesis-3D

Public Methods

Method Description
CloseWriteFile ( XmlWriter writer ) : void

����д���ļ�

GetXmlReader ( String filePath ) : XmlReader

����Xml��ʽ�ļ���ȡ��

GetXmlWriter ( String filePath ) : XmlWriter

����Xml��ʽ�ļ�д����

ReadAllLines ( String filePath ) : String[]

���ı���ʽ��ȡ�ļ�������

SaveScene ( String filePath ) : void

���泡��

Private Methods

Method Description
ICall_IO_CloseWriteFile ( XmlWriter writer ) : void
ICall_IO_GetXmlReader ( String filePath ) : XmlReader
ICall_IO_GetXmlWriter ( String filePath ) : XmlWriter
ICall_IO_ReadAllLines ( String filePath ) : String[]
ICall_IO_SaveScene ( String filePath ) : void

Method Details

CloseWriteFile() public static method

����д���ļ�
public static CloseWriteFile ( XmlWriter writer ) : void
writer XmlWriter ���ļ�������д����
return void

GetXmlReader() public static method

����Xml��ʽ�ļ���ȡ��
public static GetXmlReader ( String filePath ) : XmlReader
filePath String xml�ļ�ID(��asset:test.xml)
return XmlReader

GetXmlWriter() public static method

����Xml��ʽ�ļ�д����
public static GetXmlWriter ( String filePath ) : XmlWriter
filePath String xml�ļ�ID(��asset:test.xml)
return XmlWriter

ReadAllLines() public static method

���ı���ʽ��ȡ�ļ�������
public static ReadAllLines ( String filePath ) : String[]
filePath String Ҫ��ȡ���ļ�ID(��asset:test.txt)
return String[]

SaveScene() public static method

���泡��
public static SaveScene ( String filePath ) : void
filePath String �����ļ�ID(��asset:test.scene)
return void