package intermediario;

public class Exercicio00 {
	
	String frase, AUXILIAR;
		
	public String getFrase() {
		return frase;
	}

	public void setFrase(String frase) {
		this.frase = frase;
	}

	public String getAUXILIAR() {
		StringBuilder builder = new StringBuilder();
		
		for (int i = 0; i < frase.length(); i++) {
			
			char elemento = frase.charAt(i);
			
			if (frase.charAt(i) == (char) 120) {
				 elemento = (char) 94;
			}
			if (frase.charAt(i) == (char) 121) {
				 elemento = (char) 95;
			}
			if (frase.charAt(i) == (char) 122) {
				 elemento = (char) 96;
			}
			elemento = (char) (elemento + 3);
			builder.append(elemento);			
		}
		return builder.toString();
	}
}

@@ -19,16 +19,122 @@
 rio;%0D%0A%0D%0A
+/**%0D%0A * Transforma uma frase para seu equivalente na cifra de C%C3%A9sar%0D%0A * @author marcelo.krieger%0D%0A *%0D%0A */%0D%0A
 public c
@@ -230,32 +230,82 @@
 n frase;%0D%0A%09%7D%0D%0A%0D%0A
+%09/**%0D%0A%09 * Frase original%0D%0A%09 * @param frase%0D%0A%09 */%0D%0A
 %09public void set
@@ -356,16 +356,66 @@
 %0D%0A%09%7D%0D%0A%0D%0A
+%09/**%0D%0A%09 * Frase criptografada%0D%0A%09 * @return%0D%0A%09 */%0D%0A
 %09public 

Update Exercicio00.java