C# 클래스 SubLib.Core.Domain.FileProperties

Represents the properties of a file.
This includes all that's necessary to work with files, in relation to Subtitles.
상속: ICloneable
파일 보기 프로젝트 열기: GNOME/gnome-subtitles 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : object
FileProperties ( ) : System

Creates a new instance of the FileProperties class.

All properties are initialized to defaults.

FileProperties ( string path ) : System

Creates a new instance of the FileProperties class, given the file's path.

FileProperties ( string path, Encoding encoding, SubtitleType subtitleType, TimingMode timingMode ) : System

Creates a new instance of the FileProperties class, given its properties.

FileProperties ( string path, Encoding encoding, SubtitleType subtitleType, TimingMode timingMode, NewlineType newlineType ) : System

Creates a new instance of the FileProperties class, given its properties.

FileProperties ( string path, Encoding encoding, TimingMode timingMode ) : System

Creates a new instance of the FileProperties class, given its properties.

메소드 상세

Clone() 공개 메소드

public Clone ( ) : object
리턴 object

FileProperties() 공개 메소드

Creates a new instance of the FileProperties class.
All properties are initialized to defaults.
public FileProperties ( ) : System
리턴 System

FileProperties() 공개 메소드

Creates a new instance of the FileProperties class, given the file's path.
public FileProperties ( string path ) : System
path string The file's path.
리턴 System

FileProperties() 공개 메소드

Creates a new instance of the FileProperties class, given its properties.
public FileProperties ( string path, Encoding encoding, SubtitleType subtitleType, TimingMode timingMode ) : System
path string The file's path.
encoding System.Text.Encoding The file's character coding.
subtitleType SubtitleType The file's subtitle type.
timingMode TimingMode The file's timing mode. This is more useful for the subtitle types that support both the time and frame modes.
리턴 System

FileProperties() 공개 메소드

Creates a new instance of the FileProperties class, given its properties.
public FileProperties ( string path, Encoding encoding, SubtitleType subtitleType, TimingMode timingMode, NewlineType newlineType ) : System
path string The file's path.
encoding System.Text.Encoding The file's character coding.
subtitleType SubtitleType The file's subtitle type.
timingMode TimingMode The file's timing mode. This is more useful for the subtitle types that support both the time and frame modes.
newlineType NewlineType The file's newline type.
리턴 System

FileProperties() 공개 메소드

Creates a new instance of the FileProperties class, given its properties.
public FileProperties ( string path, Encoding encoding, TimingMode timingMode ) : System
path string The file's path.
encoding System.Text.Encoding The file's character coding.
timingMode TimingMode The file's timing mode. This is more useful for the subtitle types that support both the time and frame modes.
리턴 System