IT. Expert System.

Android Reference

DropBoxManager.Entry


android.os

Class DropBoxManager.Entry

    • Constructor Detail

      • DropBoxManager.Entry

        public DropBoxManager.Entry(String tag,
                            long millis)
        Create a new empty Entry with no contents.
      • DropBoxManager.Entry

        public DropBoxManager.Entry(String tag,
                            long millis,
                            String text)
        Create a new Entry with plain text contents.
      • DropBoxManager.Entry

        public DropBoxManager.Entry(String tag,
                            long millis,
                            byte[] data,
                            int flags)
        Create a new Entry with byte array contents. The data array must not be modified after creating this entry.
      • DropBoxManager.Entry

        public DropBoxManager.Entry(String tag,
                            long millis,
                            ParcelFileDescriptor data,
                            int flags)
        Create a new Entry with streaming data contents. Takes ownership of the ParcelFileDescriptor.
      • DropBoxManager.Entry

        public DropBoxManager.Entry(String tag,
                            long millis,
                            File data,
                            int flags)
                             throws IOException
        Create a new Entry with the contents read from a file. The file will be read when the entry's contents are requested.
        Throws:
        IOException
    • Method Detail

      • close

        public void close()
        Close the input stream associated with this entry.
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface AutoCloseable
      • getTag

        public String getTag()
        Returns:
        the tag originally attached to the entry.
      • getTimeMillis

        public long getTimeMillis()
        Returns:
        time when the entry was originally created.
      • getFlags

        public int getFlags()
        Returns:
        flags describing the content returned by getInputStream().
      • getText

        public String getText(int maxBytes)
        Parameters:
        maxBytes - of string to return (will truncate at this length).
        Returns:
        the uncompressed text contents of the entry, null if the entry is not text.
      • getInputStream

        public InputStream getInputStream()
                                   throws IOException
        Returns:
        the uncompressed contents of the entry, or null if the contents were lost
        Throws:
        IOException
      • describeContents

        public int describeContents()
        Description copied from interface: Parcelable
        Describe the kinds of special objects contained in this Parcelable's marshalled representation.
        Specified by:
        describeContents in interface Parcelable
        Returns:
        a bitmask indicating the set of special object types marshalled by the Parcelable.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 83 / 158681191. Delta: 0.26931 с