public class Adjunto extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
adjunto |
protected byte[] |
hash |
protected String |
nombre |
Constructor and Description |
---|
Adjunto(byte[] adjunto,
String nombre)
Construye un adjunto.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getAdjunto()
Devuelve el adjunto como array de bytes
Nuevo en la version 1.5
|
String |
getAdjuntoB64()
Devuelve el adjunto contenido en formato BASE64
|
String |
getHash()
Devuelve el resumen del adjunto
|
String |
getNombre()
Devuelve el nombre del adjunto
|
protected byte[] hash
protected byte[] adjunto
protected String nombre
public Adjunto(byte[] adjunto, String nombre)
adjunto
- Array binario que representa el Adjuntonombre
- Nombre del adjunto con su extension. ( Ej. fichero.txt )public byte[] getAdjunto()
public String getAdjuntoB64()
public String getNombre()
public String getHash()
Copyright © 2019. All rights reserved.