C# Class Sharpen.Runtime

Afficher le fichier Open project: oganix/NBoilerpipe Class Usage Examples

Méthodes publiques

Méthode Description
AddShutdownHook ( Runnable r ) : void
AvailableProcessors ( ) : int
CompareOrdinal ( string s1, string s2 ) : int
CurrentTimeMillis ( ) : long
EqualsIgnoreCase ( string s1, string s2 ) : bool
Exec ( string cmd, string envp, FilePath dir ) : SystemProcess
GetBytesForString ( string str ) : byte[]
GetBytesForString ( string str, string encoding ) : byte[]
GetDeclaredFields ( Type t ) : System.Reflection.FieldInfo[]
GetEncoding ( string name ) : Encoding
GetEnv ( ) : string>.IDictionary
GetLocalHost ( ) : IPAddress
GetProperties ( ) : Hashtable
GetProperty ( string key ) : string
GetRuntime ( ) : Runtime
GetStringForBytes ( byte chars ) : string
GetStringForBytes ( byte chars, int start, int len ) : string
GetStringForBytes ( byte chars, int start, int len, string encoding ) : string
GetStringForBytes ( byte chars, string encoding ) : string
GetType ( string name ) : Type
Getenv ( string var ) : string
IdentityHashCode ( object ob ) : int
MaxMemory ( ) : long
NanoTime ( ) : long
NotifyAll ( object ob ) : void
PrintStackTrace ( Exception ex ) : void
PrintStackTrace ( Exception ex, TextWriter tw ) : void
SetCharAt ( StringBuilder sb, int index, char c ) : void
SetProperty ( string key, string value ) : void
Substring ( string str, int index ) : string
Substring ( string str, int index, int endIndex ) : string
Wait ( object ob, long milis ) : bool
Wait ( object ob ) : void

Method Details

AddShutdownHook() public méthode

public AddShutdownHook ( Runnable r ) : void
r Runnable
Résultat void

AvailableProcessors() public méthode

public AvailableProcessors ( ) : int
Résultat int

CompareOrdinal() public static méthode

public static CompareOrdinal ( string s1, string s2 ) : int
s1 string
s2 string
Résultat int

CurrentTimeMillis() public static méthode

public static CurrentTimeMillis ( ) : long
Résultat long

EqualsIgnoreCase() public static méthode

public static EqualsIgnoreCase ( string s1, string s2 ) : bool
s1 string
s2 string
Résultat bool

Exec() public méthode

public Exec ( string cmd, string envp, FilePath dir ) : SystemProcess
cmd string
envp string
dir FilePath
Résultat SystemProcess

GetBytesForString() public static méthode

public static GetBytesForString ( string str ) : byte[]
str string
Résultat byte[]

GetBytesForString() public static méthode

public static GetBytesForString ( string str, string encoding ) : byte[]
str string
encoding string
Résultat byte[]

GetDeclaredFields() public static méthode

public static GetDeclaredFields ( Type t ) : System.Reflection.FieldInfo[]
t System.Type
Résultat System.Reflection.FieldInfo[]

GetEncoding() public static méthode

public static GetEncoding ( string name ) : Encoding
name string
Résultat System.Text.Encoding

GetEnv() public static méthode

public static GetEnv ( ) : string>.IDictionary
Résultat string>.IDictionary

GetLocalHost() public static méthode

public static GetLocalHost ( ) : IPAddress
Résultat System.Net.IPAddress

GetProperties() public static méthode

public static GetProperties ( ) : Hashtable
Résultat System.Collections.Hashtable

GetProperty() public static méthode

public static GetProperty ( string key ) : string
key string
Résultat string

GetRuntime() public static méthode

public static GetRuntime ( ) : Runtime
Résultat Runtime

GetStringForBytes() public static méthode

public static GetStringForBytes ( byte chars ) : string
chars byte
Résultat string

GetStringForBytes() public static méthode

public static GetStringForBytes ( byte chars, int start, int len ) : string
chars byte
start int
len int
Résultat string

GetStringForBytes() public static méthode

public static GetStringForBytes ( byte chars, int start, int len, string encoding ) : string
chars byte
start int
len int
encoding string
Résultat string

GetStringForBytes() public static méthode

public static GetStringForBytes ( byte chars, string encoding ) : string
chars byte
encoding string
Résultat string

GetType() public static méthode

public static GetType ( string name ) : Type
name string
Résultat System.Type

Getenv() public static méthode

public static Getenv ( string var ) : string
var string
Résultat string

IdentityHashCode() public static méthode

public static IdentityHashCode ( object ob ) : int
ob object
Résultat int

MaxMemory() public méthode

public MaxMemory ( ) : long
Résultat long

NanoTime() public static méthode

public static NanoTime ( ) : long
Résultat long

NotifyAll() public static méthode

public static NotifyAll ( object ob ) : void
ob object
Résultat void

PrintStackTrace() public static méthode

public static PrintStackTrace ( Exception ex ) : void
ex System.Exception
Résultat void

PrintStackTrace() public static méthode

public static PrintStackTrace ( Exception ex, TextWriter tw ) : void
ex System.Exception
tw System.IO.TextWriter
Résultat void

SetCharAt() public static méthode

public static SetCharAt ( StringBuilder sb, int index, char c ) : void
sb StringBuilder
index int
c char
Résultat void

SetProperty() public static méthode

public static SetProperty ( string key, string value ) : void
key string
value string
Résultat void

Substring() public static méthode

public static Substring ( string str, int index ) : string
str string
index int
Résultat string

Substring() public static méthode

public static Substring ( string str, int index, int endIndex ) : string
str string
index int
endIndex int
Résultat string

Wait() public static méthode

public static Wait ( object ob, long milis ) : bool
ob object
milis long
Résultat bool

Wait() public static méthode

public static Wait ( object ob ) : void
ob object
Résultat void