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

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

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

origin: org.juzu/juzu-core

@Override
public FileObject getFileForOutput(Location location, String packageName, String relativeName, FileObject sibling) throws IOException {
 FileKey key = FileKey.newResourceName(packageName, relativeName);
 // Address a bug
 if (location == StandardLocation.SOURCE_PATH) {
  FileObject file = sourcePath.getReadable(key);
  if (file == null) {
   throw new FileNotFoundException("Not found:" + key.toString());
  }
  return file;
 }
 else {
  FileManager files = getFiles(location);
  if (files != null) {
   return files.getWritable(key);
  }
  else {
   throw new FileNotFoundException("Cannot write: " + location);
  }
 }
}
origin: juzu/juzu

@Override
public FileObject getFileForOutput(Location location, String packageName, String relativeName, FileObject sibling) throws IOException {
 FileKey key = FileKey.newResourceName(packageName, relativeName);
 // Address a bug
 if (location == StandardLocation.SOURCE_PATH) {
  FileObject file = sourcePath.getReadable(key);
  if (file == null) {
   throw new FileNotFoundException("Not found:" + key.toString());
  }
  return file;
 }
 else {
  FileManager files = getFiles(location);
  if (files != null) {
   return files.getWritable(key);
  }
  else {
   throw new FileNotFoundException("Cannot write: " + location);
  }
 }
}
juzu.impl.commonFileKeytoString

Popular methods of FileKey

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

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
  • Best plugins for Eclipse
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