Use existing Method instead of new Prameter : Im trying to finish this project and I cant figure how to use my existing method in my other method. i want to get rid of "VOWELS", which is defined right after the class, and I just want to use the method isVowel which returns a True or False after you type in a Char.

this is what I have 

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-js -->

    public class StringAndIO {
    	
    	private static Scanner v;
    	
    	static final String VOWELS = "AaEeIiOoUuÄäÖöÜü";

    	

    	public static boolean isVowel(char c) {

    		

    			if (c == 'a' || c == 'A' || c == 'e' || c == 'E' || c == 'i' || c == 'I' || c == 'o' || c == 'O' || c == 'u'
    					|| c == 'U' || c == 'ä' || c == 'Ä' || c == 'ö' || c == 'Ö' || c == 'ü' || c == 'Ü') {
    				
    			
    			return true;
    			} else {
    				return false;
    			 
    			}
    		}
    	

    	

    	public static String toPigLatin(String text) {
    		
    		
    		String ret = "";
    		String vowelbuf = "";
    		
    		
    		for (int i = 0; i < text.length(); ++i) {
    			char x = text.charAt(i);
    			if (VOWELS.indexOf(x) != -1) {
    				vowelbuf += x;
    			} else {
    				if (vowelbuf.length() > 0) {
    					ret += vowelbuf + "b" + vowelbuf + x;
    					vowelbuf = "";
    				} else {
    					ret += x;
    				}
    			}
    		}
    		if (vowelbuf.length() > 0) {
    			ret += vowelbuf + "b" + vowelbuf;
    		}
    		return ret;
    	}

    	/**
    	 * only there for testing purpose
    	 */
    	public static void main(String[] args) {
    		v = new Scanner(System.in);
    		System.out.println("Enter a Char!");
    		char c = v.next().charAt(0);
    		System.out.println(isVowel(c));

    		String s = "Meine Mutter ißt gerne Fisch";
    		System.out.println(s);
    		System.out.println(toPigLatin(s));
    		System.out.println();

    	}
    }

<!-- end snippet -->

