com.android.repository.api
Interface FallbackLocalRepoLoader
public interface FallbackLocalRepoLoader
An implementation of a local repository parser to use to try to identify a package if the normal
mechanism doesn't. If one is provided to RepoManager,
parseLegacyLocalPackage(File, ProgressIndicator) will be run on every repository
directory that doesn't contain a package recognized by LocalRepoLoader
(or a child of such a directory). LocalRepoLoader will then use the LocalPackage
generated by this to write out a package.xml in the normal format.
parseLegacyLocalPackage
@Nullable
LocalPackage parseLegacyLocalPackage(@NonNull
java.io.File f,
@NonNull
ProgressIndicator progress)
- Try to find a package at the given location. If found, return a
LocalPackage with the
package's information. Otherwise return null.