diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-07-31 18:15:26 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-07-31 18:15:26 -0700 |
commit | d31bf5948f827d1e3e9778ed47b193f74d5cf68a (patch) | |
tree | e5fb745c3ccedf0f70540ab689503536d14c8aeb /api | |
parent | 985eb88e90b1fad4af51d8385bef67f689d0ab3d (diff) | |
parent | 008408277933afb23a95e080b09eed07d2575eda (diff) | |
download | frameworks_base-d31bf5948f827d1e3e9778ed47b193f74d5cf68a.zip frameworks_base-d31bf5948f827d1e3e9778ed47b193f74d5cf68a.tar.gz frameworks_base-d31bf5948f827d1e3e9778ed47b193f74d5cf68a.tar.bz2 |
am 00840827: am 40e5df95: Merge "Make AtomicFile a public API. It\'s about time!" into jb-mr1-dev
* commit '008408277933afb23a95e080b09eed07d2575eda':
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 91f0476..92818ea 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); |