@@ -29,7 +29,7 @@ class ct4j
2929
3030
3131 // constructor
32- ct4j ()
32+ public ct4j ()
3333 {
3434 headers = new ArrayList <>();
3535 rows = new HashMap <>();
@@ -46,27 +46,27 @@ class ct4j
4646
4747 // ---------------------------------- user useable functiions---------------------------
4848
49- protected void setHorizontalSeparator (char HorizontalSeparator ){
49+ public void setHorizontalSeparator (char HorizontalSeparator ){
5050 horSep = "" ;
5151 horSep += HorizontalSeparator ;
5252 }
53- protected void setVerticalSeparator (char VerticalSeparator ){
53+ public void setVerticalSeparator (char VerticalSeparator ){
5454 verSep = "" ;
5555 verSep += VerticalSeparator ;
5656 }
57- protected void setCornerJoint (char CornerJoint ){
57+ public void setCornerJoint (char CornerJoint ){
5858 cornerJoint = "" ;
5959 cornerJoint += CornerJoint ;
6060 }
61- protected void setUppercaseHeaders (Boolean uppercaseHeader ) {
61+ public void setUppercaseHeaders (Boolean uppercaseHeader ) {
6262 this .uppercaseHearder = uppercaseHeader ;
6363 }
6464
6565
6666
6767
6868 // setting up Headers or column title of the tables
69- protected void setHeader (String ...Header ) throws DuplicateHeaderException , MultipleHeaderException
69+ public void setHeader (String ...Header ) throws DuplicateHeaderException , MultipleHeaderException
7070 {
7171 HashMap <String ,Integer > duplicate = new HashMap <>();
7272 duplicate .clear ();
@@ -92,7 +92,7 @@ protected void setHeader(String ...Header) throws DuplicateHeaderException , Mul
9292 }
9393
9494 // add
95- protected void addRow (String ...Row ) throws ElementSizeException
95+ public void addRow (String ...Row ) throws ElementSizeException
9696 {
9797 ArrayList <String > tempRow = new ArrayList <>();
9898 tempRow .clear ();
@@ -110,7 +110,7 @@ protected void addRow(String ...Row) throws ElementSizeException
110110
111111 }
112112
113- protected void printTable () throws ElementSizeException
113+ public void printTable () throws ElementSizeException
114114 {
115115 row2column (); // converts row into column
116116 getMaxColumnLength (); // gets the maximum length of a value from each column
0 commit comments