diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-07-31 18:13:38 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-07-31 18:13:38 -0700 |
commit | 008408277933afb23a95e080b09eed07d2575eda (patch) | |
tree | f6c14477b4079c1c8344654d3fdd75c4e5d3d276 /api | |
parent | 37f0fbf35260e96cdb699326be63bf19ec4d567d (diff) | |
parent | 40e5df95ff9468cec0624ca7fb14e51c13e4b047 (diff) | |
download | frameworks_base-008408277933afb23a95e080b09eed07d2575eda.zip frameworks_base-008408277933afb23a95e080b09eed07d2575eda.tar.gz frameworks_base-008408277933afb23a95e080b09eed07d2575eda.tar.bz2 |
am 40e5df95: Merge "Make AtomicFile a public API. It\'s about time!" into jb-mr1-dev
* commit '40e5df95ff9468cec0624ca7fb14e51c13e4b047':
Make AtomicFile a public API. It's about time!
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index f987d5e..491bc07 100644 --- a/api/current.txt +++ b/api/current.txt @@ -22524,6 +22524,17 @@ package android.util { ctor public AndroidRuntimeException(java.lang.Exception); } + public class AtomicFile { + ctor public AtomicFile(java.io.File); + method public void delete(); + method public void failWrite(java.io.FileOutputStream); + method public void finishWrite(java.io.FileOutputStream); + method public java.io.File getBaseFile(); + method public java.io.FileInputStream openRead() throws java.io.FileNotFoundException; + method public byte[] readFully() throws java.io.IOException; + method public java.io.FileOutputStream startWrite() throws java.io.IOException; + } + public abstract interface AttributeSet { method public abstract boolean getAttributeBooleanValue(java.lang.String, java.lang.String, boolean); method public abstract boolean getAttributeBooleanValue(int, boolean); |