public class InternalFormat
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
InternalFormat.Formatter
A class that provides the base for implementations of type-specific formatting.
|
static class |
InternalFormat.Spec
Parsed PEP-3101 format specification of a single field, encapsulating the format for use by
formatting methods.
|
Constructor and Description |
---|
InternalFormat() |
Modifier and Type | Method and Description |
---|---|
static InternalFormat.Spec |
fromText(PyObject text,
java.lang.String method)
Create a
InternalFormat.Spec object by parsing a format specification, supplied as an object. |
static InternalFormat.Spec |
fromText(java.lang.String text)
Create a
InternalFormat.Spec object by parsing a format specification. |
public static InternalFormat.Spec fromText(java.lang.String text)
InternalFormat.Spec
object by parsing a format specification.text
- to parsepublic static InternalFormat.Spec fromText(PyObject text, java.lang.String method)
InternalFormat.Spec
object by parsing a format specification, supplied as an object.text
- to parse