congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
FileKey.getKind
Code IndexAdd Tabnine to your IDE (free)

How to use
getKind
method
in
juzu.impl.common.FileKey

Best Java code snippets using juzu.impl.common.FileKey.getKind (Showing top 8 results out of 315)

origin: org.juzu/juzu-core

public Kind getKind() {
 return key.getKind();
}
origin: juzu/juzu

public Kind getKind() {
 return key.getKind();
}
origin: juzu/juzu

public static FileKey newResourceName(String packageName, String rawName, String ext) {
 FileKey key = newName(packageName, rawName, ext);
 if (key.getKind() == JavaFileObject.Kind.OTHER) {
  return key;
 } else {
  throw new IllegalArgumentException();
 }
}
origin: juzu/juzu

public static FileKey newResourceName(String packageName, String name) {
 FileKey key = newName(packageName, name);
 if (key.getKind() == JavaFileObject.Kind.OTHER) {
  return key;
 } else {
  throw new IllegalArgumentException();
 }
}
origin: org.juzu/juzu-core

public static FileKey newResourceName(String packageName, String name) {
 FileKey key = newName(packageName, name);
 if (key.getKind() == JavaFileObject.Kind.OTHER) {
  return key;
 } else {
  throw new IllegalArgumentException();
 }
}
origin: org.juzu/juzu-core

public static FileKey newResourceName(String packageName, String rawName, String ext) {
 FileKey key = newName(packageName, rawName, ext);
 if (key.getKind() == JavaFileObject.Kind.OTHER) {
  return key;
 } else {
  throw new IllegalArgumentException();
 }
}
origin: org.juzu/juzu-core

 private void list(
  String packageName,
  P root,
  Set<JavaFileObject.Kind> kinds,
  boolean recurse,
  Collection<JavaFileObject> to) throws IOException {
  for (Iterator<P> i = fs.getChildren(root);i.hasNext();) {
   P child = i.next();
   if (fs.isDir(child)) {
    if (recurse) {
     String name = fs.getName(child);
     list(packageName.isEmpty() ? name : packageName + "." + name, child, kinds, true, to);
    }
   }
   else {
    String name = fs.getName(child);
    FileKey key = FileKey.newName(packageName, name);
    if (kinds.contains(key.getKind())) {
     to.add(getReadable(key));
    }
   }
  }
 }
}
origin: juzu/juzu

 private void list(
  String packageName,
  P root,
  Set<JavaFileObject.Kind> kinds,
  boolean recurse,
  Collection<JavaFileObject> to) throws IOException {
  for (Iterator<P> i = fs.getChildren(root);i.hasNext();) {
   P child = i.next();
   if (fs.isDir(child)) {
    if (recurse) {
     String name = fs.getName(child);
     list(packageName.isEmpty() ? name : packageName + "." + name, child, kinds, true, to);
    }
   }
   else {
    String name = fs.getName(child);
    FileKey key = FileKey.newName(packageName, name);
    if (kinds.contains(key.getKind())) {
     to.add(getReadable(key));
    }
   }
  }
 }
}
juzu.impl.commonFileKeygetKind

Popular methods of FileKey

  • newName
  • newResourceName
  • <init>
  • equals
  • newJavaName
  • toString

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • runOnUiThread (Activity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now