Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Interface + filesystem and s3 implementation to manage (create, read, delete) files
Java
branch: master

1.1.2

latest commit 561608a9ea
@shatsar shatsar authored
Failed to load latest commit information.
src properties bug
.gitignore gitignore filemanager.s3.properties
LICENSE first public release
README.md first public release
pom.xml 1.1.2

README.md

Mashape File-Manager library

This library provides an interface ( FileManager.java ) and two different implementations (file system and S3) for standard file operations: save, move, delete.

Using FileManagerFactory.init(Properties properties) you can load the implementation needed in a transparent way to the rest of the code that uses just the interface.

FileSystemFileManager

The first implementation uses the filesystem. The configuration file needs this key: filemanager.filesystem.dir. This is the first version we used on mashape.com and we still use in development.

S3FileManager

The second implementation (the one we use in production) is an abstract way to store and manage file in the Amazon Simple Storage Service ( http://aws.amazon.com/s3 ) It relies on JetS3t ( http://www.jets3t.org/ ) The configuration file needs these keys:

  • s3.accesskey
  • s3.secretkey
  • s3.bucket

Where the last one is the bucket name on S3

Copyright (C) 2011 Mashape, Inc.

Something went wrong with that request. Please try again.