Rev 554 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 554 | Rev 555 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | package br.com.ec.domain.dto; |
1 | package br.com.ec.domain.dto; |
| 2 | 2 | ||
| 3 | import java.io.File; |
3 | import java.io.File; |
| 4 | 4 | ||
| 5 | import br.com.ec.core.util.StringUtil; |
5 | import br.com.ec.core.util.StringUtil; |
| - | 6 | import br.com.ec.domain.shared.ConstantesSEC; |
|
| 6 | 7 | ||
| 7 | public class ArquivoPadraoDTO { |
8 | public class ArquivoPadraoDTO { |
| 8 | 9 | ||
| 9 | private String descricao; |
10 | private String descricao; |
| 10 | private String nomeArquivo; |
11 | private String nomeArquivo; |
| Line 48... | Line 49... | ||
| 48 | }
|
49 | }
|
| 49 | public void setDados(byte[] dados) { |
50 | public void setDados(byte[] dados) { |
| 50 | this.dados = dados; |
51 | this.dados = dados; |
| 51 | }
|
52 | }
|
| 52 | 53 | ||
| - | 54 | /***********************************/
|
|
| - | 55 | ||
| - | 56 | public String retornarCaminhoCompletoArquivo() { |
|
| - | 57 | return ConstantesSEC.ArquivosPadrao.CAMINHO_PADRAO_SERVIDOR + getNomeArquivo() + "." + getExtensao(); |
|
| - | 58 | }
|
|
| 53 | }
|
59 | }
|