Skip to content

google/jimfs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Bumps [icu4j](https://github.com/unicode-org/icu) from 71.1 to 72.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/unicode-org/icu/releases">icu4j's releases</a>.</em></p>
<blockquote>
<h2>ICU 72.1</h2>
<p>We are pleased to announce the release of Unicode® ICU 72. It updates to <a href="https://blog.unicode.org/2022/09/announcing-unicode-standard-version-150.html">Unicode 15</a>, and to <a href="https://cldr.unicode.org/index/downloads/cldr-42">CLDR 42</a> locale data with various additions and corrections.</p>
<p>ICU 72 and CLDR 42 are major releases, including a new version of Unicode and major locale data improvements.</p>
<p>ICU 72 adds two technology preview implementations based on draft Unicode specifications:</p>
<ul>
<li>Formatting of people’s names in multiple languages (<a href="https://cldr.unicode.org/index/downloads/cldr-42#h.nrv6xq99qe7d">CLDR background</a> on why this feature is being added and what it does)</li>
<li>An enhanced version of message formatting</li>
</ul>
<p>This release also updates to the time zone data version 2022e (2022-oct). Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream <a href="https://www.iana.org/time-zones">tzdata</a> release since 2021b.</p>
<p>For details, please see <a href="https://icu.unicode.org/download/72">https://icu.unicode.org/download/72</a>.</p>
<p><em>Note: The prebuilt WinARM64 binaries below should be considered alpha/experimental.</em></p>
<h2>ICU 72rc with CLDR beta3 / tzdata2022d</h2>
<p><a href="https://icu.unicode.org/download/72">https://icu.unicode.org/download/72</a></p>
<h2>ICU 72 RC</h2>
<p>We are pleased to announce the release candidate for Unicode® ICU 72. It updates to <a href="https://blog.unicode.org/2022/09/announcing-unicode-standard-version-150.html">Unicode 15</a>, and to <a href="https://cldr.unicode.org/index/downloads/cldr-42">CLDR 42</a> locale data with various additions and corrections.</p>
<p>ICU 72 adds technology preview implementations for person name formatting, as well as for a new version of message formatting based on a proposed draft Unicode specification.</p>
<p>ICU 72 and CLDR 42 are major releases, including a new version of Unicode and major locale data improvements.</p>
<p>ICU 72 updates to the time zone data version 2022b (2022-aug) which is effectively the same as 2022c. Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream<a href="https://www.iana.org/time-zones"> tzdata</a> release since 2021b.</p>
<p>For details, please see <a href="https://icu.unicode.org/download/72">https://icu.unicode.org/download/72</a>.</p>
<p>Please test this release candidate on your platforms and report bugs and regressions by Tuesday, 2022-oct-18, via the <a href="https://icu.unicode.org/contacts">icu-support</a> mailing list, and/or please <a href="https://icu.unicode.org/bugs">find/submit error reports</a>.</p>
<p>Please do not use this release candidate in production.</p>
<p>The preliminary API reference documents are published on <a href="https://unicode-org.github.io/icu-docs/">unicode-org.github.io/icu-docs/</a> – follow the “Dev” links there.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/unicode-org/icu/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.ibm.icu:icu4j&package-manager=maven&previous-version=71.1&new-version=72.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Fixes #211

COPYBARA_INTEGRATE_REVIEW=#211 from google:dependabot/maven/com.ibm.icu-icu4j-72.1 fecbfc9
PiperOrigin-RevId: 482514917
c6a44ad

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Jimfs

Jimfs is an in-memory file system for Java 7 and above, implementing the java.nio.file abstract file system APIs.

Build Status Maven Central

Getting started

The latest release is 1.2.

It is available in Maven Central as com.google.jimfs:jimfs:1.2:

<dependency>
  <groupId>com.google.jimfs</groupId>
  <artifactId>jimfs</artifactId>
  <version>1.2</version>
</dependency>

Basic use

The simplest way to use Jimfs is to just get a new FileSystem instance from the Jimfs class and start using it:

import com.google.common.jimfs.Configuration;
import com.google.common.jimfs.Jimfs;
...

// For a simple file system with Unix-style paths and behavior:
FileSystem fs = Jimfs.newFileSystem(Configuration.unix());
Path foo = fs.getPath("/foo");
Files.createDirectory(foo);

Path hello = foo.resolve("hello.txt"); // /foo/hello.txt
Files.write(hello, ImmutableList.of("hello world"), StandardCharsets.UTF_8);

What's supported?

Jimfs supports almost all the APIs under java.nio.file. It supports:

  • Creating, deleting, moving and copying files and directories.
  • Reading and writing files with FileChannel or SeekableByteChannel, InputStream, OutputStream, etc.
  • Symbolic links.
  • Hard links to regular files.
  • SecureDirectoryStream, for operations relative to an open directory.
  • Glob and regex path filtering with PathMatcher.
  • Watching for changes to a directory with a WatchService.
  • File attributes. Built-in attribute views that can be supported include "basic", "owner", "posix", "unix", "dos", "acl" and "user". Do note, however, that not all attribute views provide useful attributes. For example, while setting and reading POSIX file permissions is possible with the "posix" view, those permissions will not actually affect the behavior of the file system.

Jimfs also supports creating file systems that, for example, use Windows-style paths and (to an extent) behavior. In general, however, file system behavior is modeled after UNIX and may not exactly match any particular real file system or platform.

License

Copyright 2013 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.