메소드 | 설명 | |
---|---|---|
AppendBytesToFile ( string filePath, byte bytes ) : void |
Appends bytes to a file in a safe way
|
|
AppendTextToFile ( string filePath, string fileText ) : void |
Appends text to a file in a safe way
|
|
ChangeUrlToFilePath ( string urlPath ) : string |
changes a url path to a system directory/file path
|
|
CreateDirectory ( string directoryPath, bool canOverride ) : void |
Creates a directory
|
|
CreateFile ( string filePath, bool canOverride, string defaultText ) : void |
Creates a file in a safe way
|
|
DeserializeFromBinary ( string filePath ) : object |
deserializes an object from binary format
|
|
DeserializeFromSoap ( string filePath ) : object |
deserializes an object from soap format
|
|
DeserializeFromXml ( string filePath, |
deserializes an object from xml format
|
|
GetAbsolutePath ( string mayBeRelativePath, string baseDirectory = null ) : string |
Returns the absolute path of the specified (relative) path with respect to the base directory
|
|
ReadBytesFromFile ( string filePath ) : byte[] |
Reads bytes from a file
|
|
ReadTextFromFile ( string filePath ) : string |
Reads text from a file
|
|
SerializeToBinary ( string filePath, object obj ) : void |
serializes an object to binary format
|
|
SerializeToSoap ( string filePath, object obj ) : void |
serializes an object to soap format
|
|
SerializeToXml ( string filePath, object obj, |
serializes an object to XML format
|
|
WriteBytesToFile ( string filePath, byte bytes ) : void |
Writes bytes to a file in a safe way
|
|
WriteTextToFile ( string filePath, string fileText ) : void |
Writes text to a file in a safe way
|
public static AppendBytesToFile ( string filePath, byte bytes ) : void | ||
filePath | string | |
bytes | byte | |
리턴 | void |
public static AppendTextToFile ( string filePath, string fileText ) : void | ||
filePath | string | |
fileText | string | |
리턴 | void |
public static ChangeUrlToFilePath ( string urlPath ) : string | ||
urlPath | string | |
리턴 | string |
public static CreateDirectory ( string directoryPath, bool canOverride ) : void | ||
directoryPath | string | |
canOverride | bool | |
리턴 | void |
public static CreateFile ( string filePath, bool canOverride, string defaultText ) : void | ||
filePath | string | |
canOverride | bool | |
defaultText | string | |
리턴 | void |
public static DeserializeFromBinary ( string filePath ) : object | ||
filePath | string | |
리턴 | object |
public static DeserializeFromSoap ( string filePath ) : object | ||
filePath | string | |
리턴 | object |
public static DeserializeFromXml ( string filePath, |
||
filePath | string | |
type | ||
subTypes | ||
리턴 | object |
public static GetAbsolutePath ( string mayBeRelativePath, string baseDirectory = null ) : string | ||
mayBeRelativePath | string | |
baseDirectory | string | |
리턴 | string |
public static ReadBytesFromFile ( string filePath ) : byte[] | ||
filePath | string | The file to be read |
리턴 | byte[] |
public static ReadTextFromFile ( string filePath ) : string | ||
filePath | string | The file to be read |
리턴 | string |
public static SerializeToBinary ( string filePath, object obj ) : void | ||
filePath | string | |
obj | object | |
리턴 | void |
public static SerializeToSoap ( string filePath, object obj ) : void | ||
filePath | string | |
obj | object | |
리턴 | void |
public static SerializeToXml ( string filePath, object obj, |
||
filePath | string | |
obj | object | |
type | ||
subTypes | ||
리턴 | void |
public static WriteBytesToFile ( string filePath, byte bytes ) : void | ||
filePath | string | |
bytes | byte | |
리턴 | void |
public static WriteTextToFile ( string filePath, string fileText ) : void | ||
filePath | string | |
fileText | string | |
리턴 | void |