File Storage system

Enables the storage and retrieval of files on a file-system by arbitrary ID

Лицензия

Лицензия

Группа

Группа

com.github.davidcarboni
Идентификатор

Идентификатор

file-store
Последняя версия

Последняя версия

0.0.5
Дата

Дата

Тип

Тип

jar
Описание

Описание

File Storage system
Enables the storage and retrieval of files on a file-system by arbitrary ID
Ссылка на сайт

Ссылка на сайт

https://github.com/davidcarboni/file-store
Система контроля версий

Система контроля версий

https://github.com/davidcarboni/file-store

Скачать file-store

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.davidcarboni/file-store/ -->
<dependency>
    <groupId>com.github.davidcarboni</groupId>
    <artifactId>file-store</artifactId>
    <version>0.0.5</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.davidcarboni/file-store/
implementation 'com.github.davidcarboni:file-store:0.0.5'
// https://jarcasting.com/artifacts/com.github.davidcarboni/file-store/
implementation ("com.github.davidcarboni:file-store:0.0.5")
'com.github.davidcarboni:file-store:jar:0.0.5'
<dependency org="com.github.davidcarboni" name="file-store" rev="0.0.5">
  <artifact name="file-store" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.davidcarboni', module='file-store', version='0.0.5')
)
libraryDependencies += "com.github.davidcarboni" % "file-store" % "0.0.5"
[com.github.davidcarboni/file-store "0.0.5"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
commons-lang : commons-lang jar 2.6
commons-io : commons-io jar 2.4

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11

Модули Проекта

Данный проект не имеет модулей.

Build Status File Store

What is this?

It's a component that allows you to store files by arbitrary ID.

How do I use it?

Instantiate the FileStore class with a base path and manipulate content referenced by ID:

fileStore = new FileStore(path);
String id = "myarbitraryid";

// Create
FileInputStream content1 = new FileInputStream(file1);
fileStore.create(id, content1);

// Read
InputStream stored = fileStore.read(id);

// Update
FileInputStream content2 = new FileInputStream(file2);
fileStore.update(id, content2);

// Delete
fileStore.delete(id);

David Carboni

https://github.com/davidcarboni/

Версии библиотеки

Версия
0.0.5