Tabnine Logo
File.filenamesToFiles
Code IndexAdd Tabnine to your IDE (free)

How to use
filenamesToFiles
method
in
java.io.File

Best Java code snippets using java.io.File.filenamesToFiles (Showing top 14 results out of 315)

origin: robovm/robovm

/**
 * Returns an array of files contained in the directory represented by this
 * file. The result is {@code null} if this file is not a directory. The
 * paths of the files in the array are absolute if the path of this file is
 * absolute, they are relative otherwise.
 *
 * @return an array of files or {@code null}.
 */
public File[] listFiles() {
  return filenamesToFiles(list());
}
origin: robovm/robovm

/**
 * Gets a list of the files in the directory represented by this file. This
 * list is then filtered through a FilenameFilter and files with matching
 * names are returned as an array of files. Returns {@code null} if this
 * file is not a directory. If {@code filter} is {@code null} then all
 * filenames match.
 * <p>
 * The entries {@code .} and {@code ..} representing the current and parent
 * directories are not returned as part of the list.
 *
 * @param filter
 *            the filter to match names against, may be {@code null}.
 * @return an array of files or {@code null}.
 */
public File[] listFiles(FilenameFilter filter) {
  return filenamesToFiles(list(filter));
}
origin: FlexoVM/flexovm

/**
 * Returns an array of files contained in the directory represented by this
 * file. The result is {@code null} if this file is not a directory. The
 * paths of the files in the array are absolute if the path of this file is
 * absolute, they are relative otherwise.
 *
 * @return an array of files or {@code null}.
 */
public File[] listFiles() {
  return filenamesToFiles(list());
}
origin: ibinti/bugvm

/**
 * Returns an array of files contained in the directory represented by this
 * file. The result is {@code null} if this file is not a directory. The
 * paths of the files in the array are absolute if the path of this file is
 * absolute, they are relative otherwise.
 *
 * @return an array of files or {@code null}.
 */
public File[] listFiles() {
  return filenamesToFiles(list());
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Returns an array of files contained in the directory represented by this
 * file. The result is {@code null} if this file is not a directory. The
 * paths of the files in the array are absolute if the path of this file is
 * absolute, they are relative otherwise.
 *
 * @return an array of files or {@code null}.
 */
public File[] listFiles() {
  return filenamesToFiles(list());
}
origin: MobiVM/robovm

/**
 * Returns an array of files contained in the directory represented by this
 * file. The result is {@code null} if this file is not a directory. The
 * paths of the files in the array are absolute if the path of this file is
 * absolute, they are relative otherwise.
 *
 * @return an array of files or {@code null}.
 */
public File[] listFiles() {
  return filenamesToFiles(list());
}
origin: com.bugvm/bugvm-rt

/**
 * Returns an array of files contained in the directory represented by this
 * file. The result is {@code null} if this file is not a directory. The
 * paths of the files in the array are absolute if the path of this file is
 * absolute, they are relative otherwise.
 *
 * @return an array of files or {@code null}.
 */
public File[] listFiles() {
  return filenamesToFiles(list());
}
origin: com.gluonhq/robovm-rt

/**
 * Returns an array of files contained in the directory represented by this
 * file. The result is {@code null} if this file is not a directory. The
 * paths of the files in the array are absolute if the path of this file is
 * absolute, they are relative otherwise.
 *
 * @return an array of files or {@code null}.
 */
public File[] listFiles() {
  return filenamesToFiles(list());
}
origin: MobiVM/robovm

/**
 * Gets a list of the files in the directory represented by this file. This
 * list is then filtered through a FilenameFilter and files with matching
 * names are returned as an array of files. Returns {@code null} if this
 * file is not a directory. If {@code filter} is {@code null} then all
 * filenames match.
 * <p>
 * The entries {@code .} and {@code ..} representing the current and parent
 * directories are not returned as part of the list.
 *
 * @param filter
 *            the filter to match names against, may be {@code null}.
 * @return an array of files or {@code null}.
 */
public File[] listFiles(FilenameFilter filter) {
  return filenamesToFiles(list(filter));
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Gets a list of the files in the directory represented by this file. This
 * list is then filtered through a FilenameFilter and files with matching
 * names are returned as an array of files. Returns {@code null} if this
 * file is not a directory. If {@code filter} is {@code null} then all
 * filenames match.
 * <p>
 * The entries {@code .} and {@code ..} representing the current and parent
 * directories are not returned as part of the list.
 *
 * @param filter
 *            the filter to match names against, may be {@code null}.
 * @return an array of files or {@code null}.
 */
public File[] listFiles(FilenameFilter filter) {
  return filenamesToFiles(list(filter));
}
origin: com.bugvm/bugvm-rt

/**
 * Gets a list of the files in the directory represented by this file. This
 * list is then filtered through a FilenameFilter and files with matching
 * names are returned as an array of files. Returns {@code null} if this
 * file is not a directory. If {@code filter} is {@code null} then all
 * filenames match.
 * <p>
 * The entries {@code .} and {@code ..} representing the current and parent
 * directories are not returned as part of the list.
 *
 * @param filter
 *            the filter to match names against, may be {@code null}.
 * @return an array of files or {@code null}.
 */
public File[] listFiles(FilenameFilter filter) {
  return filenamesToFiles(list(filter));
}
origin: FlexoVM/flexovm

/**
 * Gets a list of the files in the directory represented by this file. This
 * list is then filtered through a FilenameFilter and files with matching
 * names are returned as an array of files. Returns {@code null} if this
 * file is not a directory. If {@code filter} is {@code null} then all
 * filenames match.
 * <p>
 * The entries {@code .} and {@code ..} representing the current and parent
 * directories are not returned as part of the list.
 *
 * @param filter
 *            the filter to match names against, may be {@code null}.
 * @return an array of files or {@code null}.
 */
public File[] listFiles(FilenameFilter filter) {
  return filenamesToFiles(list(filter));
}
origin: ibinti/bugvm

/**
 * Gets a list of the files in the directory represented by this file. This
 * list is then filtered through a FilenameFilter and files with matching
 * names are returned as an array of files. Returns {@code null} if this
 * file is not a directory. If {@code filter} is {@code null} then all
 * filenames match.
 * <p>
 * The entries {@code .} and {@code ..} representing the current and parent
 * directories are not returned as part of the list.
 *
 * @param filter
 *            the filter to match names against, may be {@code null}.
 * @return an array of files or {@code null}.
 */
public File[] listFiles(FilenameFilter filter) {
  return filenamesToFiles(list(filter));
}
origin: com.gluonhq/robovm-rt

/**
 * Gets a list of the files in the directory represented by this file. This
 * list is then filtered through a FilenameFilter and files with matching
 * names are returned as an array of files. Returns {@code null} if this
 * file is not a directory. If {@code filter} is {@code null} then all
 * filenames match.
 * <p>
 * The entries {@code .} and {@code ..} representing the current and parent
 * directories are not returned as part of the list.
 *
 * @param filter
 *            the filter to match names against, may be {@code null}.
 * @return an array of files or {@code null}.
 */
public File[] listFiles(FilenameFilter filter) {
  return filenamesToFiles(list(filter));
}
java.ioFilefilenamesToFiles

Javadoc

Converts a String[] containing filenames to a File[]. Note that the filenames must not contain slashes. This method is to remove duplication in the implementation of File.list's overloads.

Popular methods of File

  • <init>
    Creates a new File instance by converting the givenfile: URI into an abstract pathname. The exact fo
  • exists
    Tests whether the file or directory denoted by this abstract pathname exists.
  • getAbsolutePath
    Returns the absolute pathname string of this abstract pathname. If this abstract pathname is already
  • getName
    Returns the name of the file or directory denoted by this abstract pathname. This is just the last n
  • isDirectory
  • mkdirs
  • delete
    Deletes the file or directory denoted by this abstract pathname. If this pathname denotes a director
  • listFiles
    Returns an array of abstract pathnames denoting the files and directories in the directory denoted b
  • getParentFile
    Returns the abstract pathname of this abstract pathname's parent, or null if this pathname does not
  • getPath
    Converts this abstract pathname into a pathname string. The resulting string uses the #separator to
  • isFile
  • length
    Returns the length of the file denoted by this abstract pathname. The return value is unspecified if
  • isFile,
  • length,
  • toURI,
  • createTempFile,
  • createNewFile,
  • toPath,
  • mkdir,
  • lastModified,
  • toString,
  • getCanonicalPath

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • BoxLayout (javax.swing)
  • JButton (javax.swing)
  • JCheckBox (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top Sublime Text plugins
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