메소드 | 설명 | |
---|---|---|
CheckParameterFormat ( string str, |
Check the Parameter Format for validity
|
|
CreateCursorFromResource ( string resourceName, int xHotSpot, int yHotSpot ) : |
Create a cursor from the given Resource Name
|
|
Drive2BassID ( char driveLetter ) : int |
Converts the given CD/DVD Drive Letter to a number suiteable for BASS
|
|
DurationToSeconds ( string durationString ) : int |
Converts a time string "HH:mm:ss" to seconds
|
|
EnterMethod ( MPTagThat.Core.CallingMethod method ) : void |
write the Method Name into the log
|
|
FormatGridColumn ( MPTagThat.Core.GridViewColumn setting ) : System.Windows.Forms.DataGridViewColumn |
Formats a Grid Column based on the Settings
|
|
FormatID3Tag ( |
Based on the Options set, use the correct version for ID3 Eventually remove V1 or V2 tags, if set in the options
|
|
GetCallingMethod ( ) : MPTagThat.Core.CallingMethod |
Example using CallingMethod within another method. This still returns information about the caller by excluding calls from this Utils class.
|
|
GetFolderThumb ( string folder ) : Common.MPTagThat.Core.Common.Picture |
Return the folder.jpg as a Taglib.Picture
|
|
GetImageAssociatedWithFile ( string filePath, bool small ) : Image | ||
GetQualifiedFilename ( string strBasePath, string &strFileName ) : void |
Returns a filename prefixed with the Path
|
|
GetWebPage ( string requestString ) : string |
Returns the requested WebPage
|
|
HttpPostRequest ( string url, string>.Dictionary |
Post data to WebPage and get result.
|
|
IsAudio ( string fileName ) : bool |
Is this an Audio file, which can be handled by MPTagThat
|
|
IsCDDrive ( string driveLetter ) : bool |
Checks if the given Drive Letter is a CD/DVD Drive
|
|
IsPicture ( string fileName ) : bool |
Is this a Picture file, which can be shown in Listview
|
|
IsReplayGain ( string description ) : bool |
Checks, if we got a replaygain frame
|
|
LabelToParameter ( string label ) : string |
Convert the Label to a Parameter
|
|
LeaveMethod ( MPTagThat.Core.CallingMethod method ) : void |
write the Method Name into the log
|
|
LongestCommonSubstring ( string sourceString, string targetString ) : double |
This function matches the Longet Common Substring of the source string found in target string
|
|
MakeValidFileName ( string str ) : string |
Make a Valid Filename out of a given String
|
|
MakeValidFolderName ( string str ) : string |
Make a Valid Foldername out of a given String
|
|
ReadFullStream ( Stream stream, int initialLength ) : byte[] |
Reads data from a stream until the end is reached. The data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail.
|
|
RelativePathTo ( string fromDirectory, string toPath ) : string |
Creates a relative path from one file or folder to another.
|
|
RemoveInvalidChars ( string strText ) : string |
Changes the Quote to a double Quote, to have correct SQL Syntax
|
|
RemoveTrailingSlash ( string strLine ) : string | ||
ReplaceEx ( string original, string pattern, string replacement ) : string |
Fast Case Sensitive Replace Method
|
|
ReplaceParametersWithTrackValues ( string parameter, |
Replace the given Parameter string with the values from the Track
|
|
SavePicture ( |
Save the Picture of the track as folder.jpg
|
|
SecondsToHMSString ( string sSeconds ) : string |
Converts given seconds to HH:mm:ss
|
|
SendMessage ( string action, string data ) : void |
Sends a message
|
|
SendProgress ( string message ) : void |
Sends a Progress Message, so that the status bar can be updated
|
|
isARedBookCD ( string drive ) : bool |
Checks, if the given Drive Letter is a Red Book (Audio) CD
|
메소드 | 설명 | |
---|---|---|
CheckParmWithLengthIndicator ( int startIndex, string str, string &parmString ) : bool |
Check a Parameter with a given Length Indicator for correctness
|
|
CreateIconIndirect ( System.Drawing.IconInfo &icon ) : |
||
GetIconInfo ( |
||
MoveWindow ( |
||
ReplaceStringWithLengthIndicator ( int startIndex, string replaceString, string replaceValue ) : string | ||
SHFileOperation ( SHFILEOPSTRUCT &FileOp ) : int | ||
SendMessage ( |
||
SetWindowText ( |
||
Util ( ) : System |
public static CheckParameterFormat ( string str, |
||
str | string | |
formattype | ||
리턴 | bool |
public static CreateCursorFromResource ( string resourceName, int xHotSpot, int yHotSpot ) : |
||
resourceName | string | |
xHotSpot | int | |
yHotSpot | int | |
리턴 |
public static Drive2BassID ( char driveLetter ) : int | ||
driveLetter | char | |
리턴 | int |
public static DurationToSeconds ( string durationString ) : int | ||
durationString | string | |
리턴 | int |
public static EnterMethod ( MPTagThat.Core.CallingMethod method ) : void | ||
method | MPTagThat.Core.CallingMethod | |
리턴 | void |
public static FormatGridColumn ( MPTagThat.Core.GridViewColumn setting ) : System.Windows.Forms.DataGridViewColumn | ||
setting | MPTagThat.Core.GridViewColumn | |
리턴 | System.Windows.Forms.DataGridViewColumn |
public static FormatID3Tag ( |
||
file | ||
리턴 |
public static GetCallingMethod ( ) : MPTagThat.Core.CallingMethod | ||
리턴 | MPTagThat.Core.CallingMethod |
public static GetFolderThumb ( string folder ) : Common.MPTagThat.Core.Common.Picture | ||
folder | string | |
리턴 | Common.MPTagThat.Core.Common.Picture |
public static GetImageAssociatedWithFile ( string filePath, bool small ) : Image | ||
filePath | string | |
small | bool | |
리턴 | Image |
public static GetQualifiedFilename ( string strBasePath, string &strFileName ) : void | ||
strBasePath | string | |
strFileName | string | |
리턴 | void |
public static GetWebPage ( string requestString ) : string | ||
requestString | string | |
리턴 | string |
public static HttpPostRequest ( string url, string>.Dictionary |
||
url | string | |
postParameters | string>.Dictionary | |
리턴 | string |
public static IsCDDrive ( string driveLetter ) : bool | ||
driveLetter | string | |
리턴 | bool |
public static IsReplayGain ( string description ) : bool | ||
description | string | |
리턴 | bool |
public static LabelToParameter ( string label ) : string | ||
label | string | |
리턴 | string |
public static LeaveMethod ( MPTagThat.Core.CallingMethod method ) : void | ||
method | MPTagThat.Core.CallingMethod | |
리턴 | void |
public static LongestCommonSubstring ( string sourceString, string targetString ) : double | ||
sourceString | string | The Source String to match |
targetString | string | The Target String to search within |
리턴 | double |
public static MakeValidFileName ( string str ) : string | ||
str | string | |
리턴 | string |
public static MakeValidFolderName ( string str ) : string | ||
str | string | |
리턴 | string |
public static ReadFullStream ( Stream stream, int initialLength ) : byte[] | ||
stream | Stream | The stream to read data from |
initialLength | int | The initial buffer length |
리턴 | byte[] |
public static RelativePathTo ( string fromDirectory, string toPath ) : string | ||
fromDirectory | string | /// Contains the directory that defines the /// start of the relative path. /// |
toPath | string | /// Contains the path that defines the /// endpoint of the relative path. /// |
리턴 | string |
public static RemoveInvalidChars ( string strText ) : string | ||
strText | string | |
리턴 | string |
public static RemoveTrailingSlash ( string strLine ) : string | ||
strLine | string | |
리턴 | string |
public static ReplaceEx ( string original, string pattern, string replacement ) : string | ||
original | string | |
pattern | string | |
replacement | string | |
리턴 | string |
public static ReplaceParametersWithTrackValues ( string parameter, |
||
parameter | string | |
track | ||
리턴 | string |
public static SavePicture ( |
||
track | ||
리턴 | void |
public static SecondsToHMSString ( string sSeconds ) : string | ||
sSeconds | string | |
리턴 | string |
public static SendMessage ( string action, string data ) : void | ||
action | string | |
data | string | |
리턴 | void |
public static SendProgress ( string message ) : void | ||
message | string | |
리턴 | void |