Subversion Repositories Integrator Subversion

Rev

Rev 530 | Rev 648 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 530 Rev 639
Line 132... Line 132...
132
        }
132
        }
133
       
133
       
134
        @Transient
134
        @Transient
135
        public String imagemEscala() {
135
        public String imagemEscala() {
136
                return retornarImagemPngOuJpg("escala_");
136
                return retornarImagemPngOuJpg("escala_");
-
 
137
        }
-
 
138
       
-
 
139
        @Transient
-
 
140
        public String imagemDestaques() {
-
 
141
                return retornarImagemPngOuJpg("destaques_");
137
        }
142
        }
138
       
143
       
139
        private String retornarImagemPngOuJpg(String pasta) {
144
        private String retornarImagemPngOuJpg(String pasta) {
140
                File foto = new File(caminhoPastaImagens() + pasta + getSequencial() + ".jpg");
145
                File foto = new File(caminhoPastaImagens() + pasta + getSequencial() + ".jpg");
141
                if (foto.exists()) {
146
                if (foto.exists()) {