C# Class clojure.lang.Printf

An implementation of Java-style printf/format

Primary inspiration from the Java OpenJDK source. In fact, this is a pretty straightforward translations of the relevant parts. I make no claims to any originality in what follows. The idea was to get something working with the minimum of thought and effort.

Afficher le fichier Open project: richhickey/clojure-clr

Méthodes publiques

Méthode Description
Format ( string formatStr ) : string

Private Methods

Méthode Description
FormatFlagsToString ( FormatFlags flags ) : string
Parse ( string format ) : List
ParseFlags ( string s ) : FormatFlags
TranslateFlag ( char c ) : FormatFlags

Method Details

Format() public static méthode

public static Format ( string formatStr ) : string
formatStr string
Résultat string