Top Description Inners Constructors Methods
org.python.core.stringlib

public Class InternalFormat

extends Object
Class Inheritance
Imports
org.python.core.PyObjectUtil.NoConversion

Static methods and classes for representing a format string and building the formatted output.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
InternalFormat.AbstractFormatter

A class that provides the base for implementations of type-specific formatting.

public static class
InternalFormat.FormatError

An exception signifying a problem with a format string.

public static class
InternalFormat.FormatOverflow

An exception signifying an overflow (or precision too large) during a formatting operation.

private static class
InternalFormat.Parser

Parser for PEP-3101 field format specifications.

public static class
InternalFormat.Spec

Parsed PEP-3101 format specification of a single field, encapsulating the format for use by formatting methods.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static InternalFormat.Spec

Returns:

parsed equivalent to text
fromText
(String
to parse
text
)

Create a Spec object by parsing a format specification.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait