Package kz.greetgo.security.crypto
Class FileContentAccess
java.lang.Object
kz.greetgo.security.crypto.FileContentAccess
- All Implemented Interfaces:
ContentAccess
public class FileContentAccess extends java.lang.Object implements ContentAccess
-
Constructor Summary
Constructors Constructor Description FileContentAccess(java.io.File file) -
Method Summary
Modifier and Type Method Description byte[]downloadBytes()booleanexists()voiduploadBytes(byte[] bytes)
-
Constructor Details
-
FileContentAccess
public FileContentAccess(java.io.File file)
-
-
Method Details
-
downloadBytes
public byte[] downloadBytes()- Specified by:
downloadBytesin interfaceContentAccess
-
uploadBytes
public void uploadBytes(byte[] bytes)- Specified by:
uploadBytesin interfaceContentAccess
-
exists
public boolean exists()- Specified by:
existsin interfaceContentAccess
-