1010 * @since DM-A-SQLConnector 1.0
1111 * @version 1.O
1212 */
13- class Utils {
13+ public class Utils {
1414
1515
16- static String getTypedBytesArray (byte [] t ) {
16+ public static String getTypedBytesArray (byte [] t ) {
1717 if (t == null )
1818 return null ;
1919 else {
@@ -23,7 +23,7 @@ static String getTypedBytesArray(byte[] t) {
2323 }
2424
2525 @ SuppressWarnings ("PMD.ReturnEmptyCollectionRatherThanNull" )
26- static byte [] getUntypedBytesArray (String s ) throws SQLException {
26+ public static byte [] getUntypedBytesArray (String s ) throws SQLException {
2727 if (s == null )
2828 return null ;
2929 else {
@@ -34,15 +34,15 @@ static byte[] getUntypedBytesArray(String s) throws SQLException {
3434 return Base64 .getDecoder ().decode (s .substring (1 ));
3535 }
3636 }
37- static String getTypedString (String s ) {
37+ public static String getTypedString (String s ) {
3838 if (s == null )
3939 return null ;
4040 else {
4141 return ASLConnectorStringType .STRING_TYPE +s ;
4242 }
4343 }
4444
45- static String getUntypedString (String s ) {
45+ public static String getUntypedString (String s ) {
4646 if (s == null )
4747 return null ;
4848 else {
@@ -56,7 +56,7 @@ static String getUntypedString(String s) {
5656
5757
5858 @ SuppressWarnings ("PMD.ReturnEmptyCollectionRatherThanNull" )
59- static String bigDecimalToString (BigDecimal bigDecimal ) {
59+ public static String bigDecimalToString (BigDecimal bigDecimal ) {
6060 if (bigDecimal == null )
6161 return null ;
6262 else {
@@ -68,7 +68,7 @@ static String bigDecimalToString(BigDecimal bigDecimal) {
6868 }
6969 }
7070
71- static BigDecimal bigDecimalFromString (String s ) throws SQLException {
71+ public static BigDecimal bigDecimalFromString (String s ) throws SQLException {
7272 if (s == null || s .length ()<2 )
7373 return null ;
7474 else {
0 commit comments