Tabnine Logo
FileObject.getFileName
Code IndexAdd Tabnine to your IDE (free)

How to use
getFileName
method
in
org.tinygroup.vfs.FileObject

Best Java code snippets using org.tinygroup.vfs.FileObject.getFileName (Showing top 20 results out of 441)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: org.tinygroup/org.tinygroup.annotation

protected boolean checkMatch(FileObject fileObject) {
  boolean isMatch = false;
  if (fileObject.getFileName().endsWith(CLASS_EXT_FILENAME)) {
    isMatch = true;
  }
  return isMatch;
}
origin: org.tinygroup/org.tinygroup.imda

public boolean isMatch(FileObject fileObject) {
  for (String fileExtName : extNameList) {
    if (fileObject.getFileName().endsWith(fileExtName)) {
      return true;
    }
  }
  return false;
}
origin: org.tinygroup/fileresolver

public boolean isMatch(FileObject fileObject) {
  if (fileObject.getFileName().endsWith(XSTREAM_FILE_EXTENSION)) {
    return true;
  }
  return false;
}
origin: org.tinygroup/org.tinygroup.springutil

protected boolean checkMatch(FileObject fileObject) {
  return fileObject.getFileName().endsWith(".springbeans.xml")
      || fileObject.getFileName().endsWith(".beans.xml")
      || fileObject.getFileName().equals("mvc-beans.xml");
}
origin: org.tinygroup/annotation

public boolean isMatch(FileObject fileObject) {
  boolean isMatch = false;
  if (fileObject.getFileName().endsWith(CLASS_EXT_FILENAME)) {
    isMatch = true;
  }
  return isMatch;
}
origin: org.tinygroup/org.tinygroup.metadata

  @Override
  protected boolean checkMatch(FileObject fileObject) {
    return fileObject.getFileName().endsWith("dict") || fileObject.getFileName().endsWith("dict.xml");
  }
}
origin: org.tinygroup/uiengine

public boolean isMatch(FileObject fileObject) {
  if (fileObject.getFileName().endsWith(".ui.xml")) {
    return true;
  }
  return false;
}
origin: org.tinygroup/org.tinygroup.database

@Override
protected boolean checkMatch(FileObject fileObject) {
  return fileObject.getFileName().endsWith(PROCESSOR_EXTFILENAME);
}
origin: org.tinygroup/org.tinygroup.database

@Override
protected boolean checkMatch(FileObject fileObject) {
  return fileObject.getFileName().endsWith(TRIGGER_EXTFILENAME);
}
origin: org.tinygroup/org.tinygroup.jedis

@Override
protected boolean checkMatch(FileObject fileObject) {
  return fileObject.getFileName().endsWith(JEDIS_CONFIG_EXT_NAME);
}
origin: org.tinygroup/org.tinygroup.service

  @Override
  protected boolean checkMatch(FileObject fileObject) {
    return fileObject.getFileName().endsWith(SERVICE_RELEASE_EXTENSION);
  }
}
origin: org.tinygroup/org.tinygroup.database

@Override
protected boolean checkMatch(FileObject fileObject) {
  return fileObject.getFileName().endsWith(CUSTOMSQL_EXTFILENAME)
      || fileObject.getFileName().endsWith(".customsql");
}
origin: org.tinygroup/velocity

public boolean isMatch(FileObject fileObject) {
  if (fileObject.getFileName().endsWith(".component")) {
    return true;
  }
  return false;
}
origin: org.tinygroup/org.tinygroup.velocity

public boolean isMatch(FileObject fileObject) {
  if (fileObject.getFileName().endsWith(".component")) {
    return true;
  }
  return false;
}
origin: org.tinygroup/fileresolver

public boolean isMatch(FileObject fileObject) {
  return fileObject.getFileName().endsWith(".springbeans.xml")
      || fileObject.getFileName().endsWith(".beans.xml");
}
origin: org.tinygroup/org.tinygroup.templateengine

  public boolean accept(FileObject fileObject) {
    String name = fileObject.getFileName();
    return (templateExtName != null && name
        .endsWith(templateExtName))
        || (layoutExtName != null && name
        .endsWith(layoutExtName))
        || (componentExtName != null && name
        .endsWith(componentExtName));
  }
}, new FileObjectProcessor() {
origin: org.tinygroup/org.tinygroup.fileresolver

protected boolean checkMatch(FileObject fileObject) {
  return (fileObject.getFileName()
      .endsWith(PROPERTIES_FILE_EXTENSION) || fileObject.getFileName()
      .endsWith(CUSTOMIZE_PROPERTIES_FILE_EXTENSION))
      && fileObject.getParent().getFileName()
      .equals(I18N_FOLDER_NAME);
}
origin: org.tinygroup/org.tinygroup.templateengine

  public boolean accept(FileObject fileObject) {
    String name = fileObject.getFileName();
    return (templateExtName != null && name
        .endsWith(templateExtName))
        || (layoutExtName != null && name
        .endsWith(layoutExtName))
        || (componentExtName != null && name
        .endsWith(componentExtName));
  }
}, new FileObjectProcessor() {
origin: org.tinygroup/fileresolver

public boolean isMatch(FileObject fileObject){
  if (fileObject.getFileName()
      .endsWith(PROPERTIES_FILE_EXTENSION)
      && fileObject.getParent().getFileName()
          .equals(I18N_FOLDER_NAME)) {
    return true;
  }
  return false;
}
origin: org.tinygroup/tinyplugin

public void process() {
  XStream stream = XStreamFactory.getXStream(PLUGIN_XSTREAM);
  for (FileObject file : fileObjects) {
    logger.logMessage(LogLevel.INFO, "开始读取plugin配置文件:{0}",
        file.getFileName());
    PluginConfigs configs = (PluginConfigs) stream.fromXML(file
        .getInputStream());
    manager.addPlugin(configs);
    logger.logMessage(LogLevel.INFO, "读取plugin配置文件:{0}完成",
        file.getFileName());
  }
}
org.tinygroup.vfsFileObjectgetFileName

Popular methods of FileObject

  • getInputStream
  • getAbsolutePath
  • getPath
  • isExist
  • getLastModifiedTime
  • getExtName
  • foreach
  • getChildren
  • getURL
  • isFolder
  • clean
  • getSize
  • clean,
  • getSize,
  • isInPackage,
  • getChild,
  • getFileObject,
  • getOutputStream,
  • getParent,
  • getSchemaProvider,
  • isModified

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • JTable (javax.swing)
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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