|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp12f.exe.pasarelapagos.helpers.DataFileUtils
Method Summary | |
static boolean |
changePermissions(java.lang.String completeFileName,
int permissions)
|
static java.lang.String |
doBuildPaymentReceiptFile(PaymentRequestData paymentRequestData,
PresentationRequestData presentationRequestData,
ProtocolData protocolData)
|
static byte[] |
getFileBytes(java.io.File f)
Devuelve un array de bytes que representa al fichero/directorio pasado como parámetro. |
static byte[] |
getFileListBytes(java.lang.String[] filesPath)
Devuelve un zip con todos los ficheros que se le hayan pasado por parámetro. |
static long |
getFileSize(java.io.File f)
Devuelve el tamaño de un fichero/directorio. |
static DataFileResponse |
renameFile(java.lang.String oldNamePath,
java.lang.String newName)
Renombre un fichero. |
static DataFileResponse |
uploadAndUnzipFile(java.lang.String path,
java.lang.String base64content,
boolean rewriteFiles)
|
static DataFileResponse |
uploadFile(java.lang.String path,
java.lang.String base64content,
boolean rewriteFiles)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static byte[] getFileBytes(java.io.File f) throws java.io.IOException
f
-
java.io.IOException
public static byte[] getFileListBytes(java.lang.String[] filesPath) throws java.io.IOException
filesPath
-
java.io.IOException
public static long getFileSize(java.io.File f) throws java.io.IOException
f
-
java.io.IOException
public static DataFileResponse renameFile(java.lang.String oldNamePath, java.lang.String newName)
newName
-
public static DataFileResponse uploadFile(java.lang.String path, java.lang.String base64content, boolean rewriteFiles)
public static DataFileResponse uploadAndUnzipFile(java.lang.String path, java.lang.String base64content, boolean rewriteFiles)
public static boolean changePermissions(java.lang.String completeFileName, int permissions)
public static java.lang.String doBuildPaymentReceiptFile(PaymentRequestData paymentRequestData, PresentationRequestData presentationRequestData, ProtocolData protocolData)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |