public class ColumnFormat extends Object
| Constructor and Description |
|---|
ColumnFormat(String name)
The constructor that defines name of the ColumnFormat class.
|
ColumnFormat(String name,
int width,
int precision)
The constructor that defines all parameters of the ColumnFormat class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The function to get
name. |
int |
getPrecision()
The function to get
precision. |
int |
getWidth()
The function to get
width. |
boolean |
isEmpty()
Returns true if there are no information about column format, otherwise false.
|
String |
toString()
The function to ColumnFormat class string representation.
|
public ColumnFormat(String name, int width, int precision)
name - - column format name.width - - olumn format width.precision - - column format precision.public ColumnFormat(String name)
name - - column format name.public String getName()
name.public int getWidth()
width.public int getPrecision()
precision.public boolean isEmpty()
Copyright © 2020. All rights reserved.