org.androidannotations.helper
Class FileHelper
java.lang.Object
org.androidannotations.helper.FileHelper
public class FileHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileHelper
public FileHelper()
findRootProject
public static Option<File> findRootProject(ProcessingEnvironment processingEnv)
findRootProjectHolder
public static Option<org.androidannotations.helper.FileHelper.FileHolder> findRootProjectHolder(ProcessingEnvironment processingEnv)
- We use a dirty trick to find the AndroidManifest.xml file, since it's not
available in the classpath. The idea is quite simple : create a fake
class file, retrieve its URI, and start going up in parent folders to
find the AndroidManifest.xml file. Any better solution will be
appreciated.
resolveOutputDirectory
public static File resolveOutputDirectory(ProcessingEnvironment processingEnv)
Copyright © 2010-2014. All Rights Reserved.