GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tomitribe/jaws: Java AWS (JAWS) tools

BranchesTags
Open more actions menu

Latest commit

 

History

158 Commits
158 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
jaws-s3-test
jaws-s3-test
 
 
jaws-s3
jaws-s3
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 
publish-site.sh
publish-site.sh
 
 
s3-dir-file-design.md
s3-dir-file-design.md
 
 
zensical.toml
zensical.toml
 
 

Repository files navigation

JAWS — Java AWS S3

Strongly-typed, proxy-based Java abstraction for Amazon S3. Define plain Java interfaces that mirror your bucket structure and let JAWS translate method calls into efficient S3 API operations — no boilerplate, no manual key construction, no pagination code.

Example

public interface Repository extends S3.Dir {
    Stream<GroupId> groups();
    GroupId group(String name);
}

public interface GroupId extends S3.Dir {
    Stream<ArtifactId> artifacts();
    ArtifactId artifact(String name);
}

public interface ArtifactId extends S3.Dir {
    Stream<Version> versions();
}

public interface Version extends S3.Dir {
    @Suffix(".jar")
    Stream<S3File> jars();

    @Suffix(".jar")
    @Suffix(value = {"-sources.jar", "-javadoc.jar"}, exclude = true)
    Stream<S3File> binaryJars();
}
S3Client s3 = new S3Client(S3AsyncClient.builder().build());
Repository repo = s3.getBucket("repository").as(Repository.class);

repo.group("org/apache/maven")
    .artifact("maven-core")
    .versions()
    .forEach(v -> System.out.println(v.file().getName()));

Documentation

Full documentation is available at tomitribe.github.io/jaws.

About

Java AWS (JAWS) tools

Resources

Readme
Activity
Custom properties

Stars

2 stars

Watchers

6 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.