C# 클래스 PeterO.Cbor.URIUtility

파일 보기 프로젝트 열기: peteroupc/CBOR

공개 메소드들

메소드 설명
escapeURI ( string s, int mode ) : string
hasScheme ( string refValue ) : bool
hasSchemeForURI ( string refValue ) : bool
isValidCurieReference ( string s, int offset, int length ) : bool
isValidIRI ( string s ) : bool
relativeResolve ( string refValue, string baseURI ) : string
relativeResolve ( string refValue, string baseURI, ParseMode parseMode ) : string
splitIRI ( string s ) : int[]
splitIRI ( string s, ParseMode parseMode ) : int[]
splitIRI ( string s, int offset, int length, ParseMode parseMode ) : int[]

비공개 메소드들

메소드 설명
appendAuthority ( StringBuilder builder, string refValue, int segments ) : void
appendFragment ( StringBuilder builder, string refValue, int segments ) : void
appendNormalizedPath ( StringBuilder builder, string refValue, int segments ) : void
appendPath ( StringBuilder builder, string refValue, int segments ) : void
appendQuery ( StringBuilder builder, string refValue, int segments ) : void
appendScheme ( StringBuilder builder, string refValue, int segments ) : void
isHexChar ( char c ) : bool
isIRegNameChar ( int c ) : bool
isIUserInfoChar ( int c ) : bool
isIfragmentChar ( int c ) : bool
isIpchar ( int c ) : bool
isIqueryChar ( int c ) : bool
normalizePath ( string path ) : string
parseDecOctet ( string s, int index, int endOffset, int c, int delim ) : int
parseIPLiteral ( string s, int offset, int endOffset ) : int
pathParent ( string refValue, int startIndex, int endIndex ) : string
percentEncode ( StringBuilder buffer, int b ) : void
percentEncodeUtf8 ( StringBuilder buffer, int cp ) : void

메소드 상세

escapeURI() 공개 정적인 메소드

public static escapeURI ( string s, int mode ) : string
s string
mode int
리턴 string

hasScheme() 공개 정적인 메소드

public static hasScheme ( string refValue ) : bool
refValue string
리턴 bool

hasSchemeForURI() 공개 정적인 메소드

public static hasSchemeForURI ( string refValue ) : bool
refValue string
리턴 bool

isValidCurieReference() 공개 정적인 메소드

public static isValidCurieReference ( string s, int offset, int length ) : bool
s string
offset int
length int
리턴 bool

isValidIRI() 공개 정적인 메소드

public static isValidIRI ( string s ) : bool
s string
리턴 bool

relativeResolve() 공개 정적인 메소드

public static relativeResolve ( string refValue, string baseURI ) : string
refValue string
baseURI string
리턴 string

relativeResolve() 공개 정적인 메소드

public static relativeResolve ( string refValue, string baseURI, ParseMode parseMode ) : string
refValue string
baseURI string
parseMode ParseMode
리턴 string

splitIRI() 공개 정적인 메소드

public static splitIRI ( string s ) : int[]
s string
리턴 int[]

splitIRI() 공개 정적인 메소드

public static splitIRI ( string s, ParseMode parseMode ) : int[]
s string
parseMode ParseMode
리턴 int[]

splitIRI() 공개 정적인 메소드

public static splitIRI ( string s, int offset, int length, ParseMode parseMode ) : int[]
s string
offset int
length int
parseMode ParseMode
리턴 int[]