Codota Logo
FileWrapper.list
Code IndexAdd Codota to your IDE (free)

How to use
list
method
in
net.sourceforge.squirrel_sql.fw.util.FileWrapper

Best Java code snippets using net.sourceforge.squirrel_sql.fw.util.FileWrapper.list (Showing top 3 results out of 315)

  • Common ways to obtain FileWrapper
private void myMethod () {
FileWrapper f =
  • Codota IconFileWrapperFactory fileWrapperFactory;FileWrapper fileWrapper;String str;fileWrapperFactory.create(fileWrapper, str)
  • Codota IconFileWrapperFactory fileWrapperFactory;String str;fileWrapperFactory.create(str)
  • Codota IconIPlugin iPlugin;iPlugin.getPluginUserSettingsFolder()
  • Smart code suggestions by Codota
}
origin: net.sf.squirrel-sql/squirrel-sql

/**
 * @see net.sourceforge.squirrel_sql.client.update.UpdateUtil#getInstalledTranslations()
 */
public Set<String> getInstalledTranslations()
{
  HashSet<String> result = new HashSet<String>();
  FileWrapper libDir = getSquirrelLibraryDir();
  for (String filename : libDir.list())
  {
    if (filename.startsWith("squirrel-sql_"))
    {
      result.add(filename);
    }
  }
  return result;
}
origin: realXuJiang/bigtable-sql

/**
 * @see net.sourceforge.squirrel_sql.client.update.UpdateUtil#getInstalledTranslations()
 */
public Set<String> getInstalledTranslations()
{
  HashSet<String> result = new HashSet<String>();
  FileWrapper libDir = getSquirrelLibraryDir();
  for (String filename : libDir.list())
  {
    if (filename.startsWith("bigtable-sql_"))
    {
      result.add(filename);
    }
  }
  return result;
}
origin: net.sf.squirrel-sql.plugins/graph

private ArrayList<LinkXmlBean> getExistingLinks(GraphPlugin plugin)
{
 try
 {
   String[] linkFileNames = plugin.getPluginUserSettingsFolder().list(new FilenameFilter()
   {
    @Override
    public boolean accept(File dir, String name)
    {
      if (name.startsWith(DefaultGraphXmlSerializerConfig.LINK_PREFIX))
      {
       return true;
      }
      return false;
    }
   });
   ArrayList<LinkXmlBean> ret = new ArrayList<LinkXmlBean>();
   XMLBeanReader br = new XMLBeanReader();
   for (String linkFileName : linkFileNames)
   {
    br.load(new File(plugin.getPluginUserSettingsFolder().getPath(), linkFileName), LinkGraphController.class.getClassLoader());
    ret.add((LinkXmlBean) br.iterator().next());
   }
   return ret;
 }
 catch (Exception e)
 {
   throw new RuntimeException(e);
 }
}
net.sourceforge.squirrel_sql.fw.utilFileWrapperlist

Popular methods of FileWrapper

  • exists
  • getAbsolutePath
  • getPath
  • delete
  • getFileWriter
  • isFile
  • listFiles
  • mkdir
  • mkdirs
  • toURI
  • canRead
  • deleteOnExit
  • canRead,
  • deleteOnExit,
  • getFileInputStream,
  • getName,
  • isDirectory,
  • lastModified,
  • length,
  • createNewFile,
  • getBufferedReader

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
  • addToBackStack (FragmentTransaction)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now