@@ -54,7 +54,7 @@ public static boolean validateEmail(String email)
5454 * @param mobile - mobile number to be validated
5555 * @return this will return true or false
5656 **/
57- public boolean validateMobile (String mobile )
57+ public static boolean validateMobile (String mobile )
5858 {
5959 try
6060 {
@@ -98,7 +98,7 @@ public static boolean validatePanCard(String panNumber)
9898 * @param number - string to be validated for numeric values
9999 * @return this will return true or false
100100 **/
101- public boolean onlyNumbers (String number )
101+ public static boolean onlyNumbers (String number )
102102 {
103103 try
104104 {
@@ -119,7 +119,7 @@ public boolean onlyNumbers(String number)
119119 * @param string - string to be validated
120120 * @return this will return true or false
121121 **/
122- public boolean onlyCharacters (String string )
122+ public static boolean onlyCharacters (String string )
123123 {
124124 try
125125 {
@@ -142,7 +142,7 @@ public boolean onlyCharacters(String string)
142142 * if true is returned then string has lower case value
143143 * else if false is returned then string has no lower case value
144144 **/
145- public boolean atLeastOneLowerCase (String string )
145+ public static boolean atLeastOneLowerCase (String string )
146146 {
147147 try
148148 {
@@ -165,7 +165,7 @@ public boolean atLeastOneLowerCase(String string)
165165 * if true is returned then string has upper case value
166166 * else if false is returned then string has no upper case value
167167 **/
168- public boolean atLeastOneUpperCase (String string )
168+ public static boolean atLeastOneUpperCase (String string )
169169 {
170170 try
171171 {
@@ -186,7 +186,7 @@ public boolean atLeastOneUpperCase(String string)
186186 * @param string - string to be validated
187187 * @return this will return true or false
188188 **/
189- public boolean atLeastOneNumber (String string )
189+ public static boolean atLeastOneNumber (String string )
190190 {
191191 try
192192 {
@@ -209,7 +209,7 @@ public boolean atLeastOneNumber(String string)
209209 * if it returns true then the string is not empty
210210 * else if it returns false then the string is empty
211211 **/
212- public boolean nonEmpty (String string )
212+ public static boolean nonEmpty (String string )
213213 {
214214 try
215215 {
@@ -232,7 +232,7 @@ public boolean nonEmpty(String string)
232232 * if true then string starts with number
233233 * else if false then string doesn't start with number
234234 **/
235- public boolean startsWithNonNumber (String string )
235+ public static boolean startsWithNonNumber (String string )
236236 {
237237 try
238238 {
@@ -255,7 +255,7 @@ public boolean startsWithNonNumber(String string)
255255 * if it returns true then there are no special characters in the string
256256 * else if it returns false then the string has special characters in the string
257257 **/
258- public boolean noSpecialCharacters (String string )
258+ public static boolean noSpecialCharacters (String string )
259259 {
260260 try
261261 {
@@ -278,7 +278,7 @@ public boolean noSpecialCharacters(String string)
278278 * if it returns true then there are special characters in the string
279279 * else if it returns false then the string has no special characters in the string
280280 **/
281- public boolean atLeastOneSpecialCharacters (String string )
281+ public static boolean atLeastOneSpecialCharacters (String string )
282282 {
283283 try
284284 {
0 commit comments