InfoImporter
The info importer can convert a variety of input types to Info instances. Common info sub-types are Java and Android classes plus a variety of supported file formats.
The info importer can import a Info
from a ByteSource
. Since Info
defines isClass/asClass
and isFile/asFile
you can determine what sub-type the item is through those methods, or instanceof
checks.
Examples
Reading a class file:
Reading a generic file and doing an action based off the type of content it is (Like text/images/video/audio/etc):
Last updated