Examples of listFiles()

@return An array of SmbFile objects representing fileand directories, workgroups, servers, or shares depending on the context of the resource URL
  • net.raymanoz.io.File.listFiles()
  • org.apache.aries.application.filesystem.IDirectory.listFiles()
    @return the list of files in this directory. Files must be in this directoryand not in sub-directories.
  • org.apache.aries.util.filesystem.IDirectory.listFiles()
    @return the list of files in this directory. Files must be in this directoryand not in sub-directories.
  • org.apache.commons.net.ftp.FTPClient.listFiles()
    Using a programmer specified FTPFileListParser , obtain a list of file information for a directory or information for just a single file. This information is obtained through the LIST command. The contents of the returned array is determined by the FTPFileListParser used. The server may or may not expand glob expressions. You should avoid using glob expressions because the return format for glob listings differs from server to server and will likely cause this method to fail.

    @param parser The FTPFileListParser that should beused to parse the server file listing. @param pathname The file or directory to list. @return The list of file information contained in the given path inthe format determined by the parser parameter. @exception FTPConnectionClosedException If the FTP server prematurely closes the connection as a result of the client being idle or some other reason causing the server to send FTP reply code 421. This exception may be caught either as an IOException or independently as itself. @exception IOException If an I/O error occurs while either sending acommand to the server or receiving a reply from the server.

  • org.apache.commons.net.ftp.FTPSClient.listFiles()
  • org.apache.ftpserver.ftplet.FileObject.listFiles()
    List file objects. If not a directory or does not exist, null will be returned. Files must be returned in alphabetical order.
  • org.apache.ftpserver.ftplet.FtpFile.listFiles()
    List file objects. If not a directory or does not exist, null will be returned. Files must be returned in alphabetical order. List must be immutable. @return The {@link List} of {@link FtpFile}s
  • org.apache.hadoop.fs.FileSystem.listFiles()
    List the statuses and block locations of the files in the given path. If the path is a directory, if recursive is false, returns files in the directory; if recursive is true, return files in the subtree rooted at the path. If the path is a file, return the file's status and block locations. @param f is the path @param recursive if the subdirectories need to be traversed recursively @return an iterator that traverses statuses of the files @throws FileNotFoundException when the path does not exist;IOException see specific implementation
  • org.apache.hadoop.hdfs.DistributedFileSystem.listFiles()
  • org.exist.util.io.Resource.listFiles()
  • org.gradle.util.TestFile.listFiles()
  • org.h2.store.fs.FileSystem.listFiles()
    List the files in the given directory. @param directory the directory @return the list of fully qualified file names
  • org.jitterbit.util.file.Folder.listFiles()
    Returns all children of this folder that matches the given filter. @return an array of matching Files; an empty array is returned if there are nomatching files
  • org.maqetta.server.IStorage.listFiles()
  • org.maqetta.server.IVResource.listFiles()
  • org.nbgit.StatusCache.listFiles()
    Lists modified files and all folders that are known to be inside this folder. There are locally modified files present plus any files that exist in the folder in the remote repository. @param dir folder to list @return
  • org.pentaho.platform.api.engine.ISolutionFile.listFiles()
    If this is a directory, will list all children files/directories for hierarchical navigation.
  • org.python.core.util.RelativeFile.listFiles()
  • org.serviceconnector.api.cln.SCFileService.listFiles()
    List files with default operation timeout. @return the list of files on the remote server @throws SCServiceException list files from Server failed
    error message received from SC
  • org.voltdb.utils.VoltFile.listFiles()
  • pt.webdetails.cpf.repository.api.IReadAccess.listFiles()
  • pt.webdetails.cpf.repository.api.IUserContentAccess.listFiles()
  • sun.awt.shell.Win32ShellFolder2.listFiles()
    @return An array of shell folders that are children of this shell folderobject. The array will be empty if the folder is empty. Returns null if this shellfolder does not denote a directory.
  • uk.ac.bbsrc.tgac.miso.tools.run.RunFolderScanner.listFiles()
  • uk.gov.nationalarchives.droid.container.ContainerSignature.listFiles()
    @return a list of all the signature files
  • uk.org.microbase.filesystem.spi.MicrobaseFS.listFiles()
    Returns a set of filenames of all the files in a specified bucket @param remoteBucket the remote bucket to scan @return a set of filenames present in the remote bucket @throws FSOperationNotSupportedException if this operation is notimplemented or is not possible to implement using the transport mechanism used by the provider. @throws FSException if an error occurred while transferring the file.FSException is usually thrown when a transient error occurs (such as a network problem or a disk becomes full)

  • Examples of Framework.DirectoryFile.listFiles()

         */
        public void makeFileTree(DisplayNode parent) {
            DirectoryFile dir = (DirectoryFile)parent.getRelated();
            parent.setOpened(true);
            parent.setIsFilled(true);
            Array_Of_File<File> qq_localVector = dir.listFiles("*", null);
            if (qq_localVector != null) {
                for (File f : qq_localVector) {
                    FileNode fn = new FileNode().construct(f);

                    fn.setParent(parent);
    View Full Code Here

    Examples of com.android.sdklib.io.FileOp.listFiles()

                // Path pattern is /sdk/system-images/<platform-N>/<tag>/<abi>/devices.xml

                FileOp fop = new FileOp();
                File sysImgFolder = new File(mOsSdkPath, SdkConstants.FD_SYSTEM_IMAGES);

                for (File platformFolder : fop.listFiles(sysImgFolder)) {
                    if (!fop.isDirectory(platformFolder)) {
                        continue;
                    }

                    for (File tagFolder : fop.listFiles(platformFolder)) {
    View Full Code Here

    Examples of com.google.devtools.moe.client.FileSystem.listFiles()


        expect(fileSystem.getTemporaryDirectory("shell_run_")).andReturn(shellRun);
        fileSystem.makeDirsForFile(shellRun);
        expect(fileSystem.isFile(codebaseFile)).andReturn(false);
        expect(fileSystem.listFiles(codebaseFile)).andReturn(new File[] {});

        Vector<String> argsList = new Vector<String>();
        argsList.add("-c");
        argsList.add("touch test.txt");
    View Full Code Here

    Examples of com.google.gdt.eclipse.designer.util.resources.IResourcesProvider.listFiles()

        IResourcesProvider provider = getTestModuleResourceProvider();
        // work with IResourcesProvider
        try {
          // from project
          {
            List<String> files = provider.listFiles("test");
            assertThat(files).contains("Module.gwt.xml", "client/Module.java");
            assertFalse(files.contains("client/Module.class"));
          }
          // from jar
          {
    View Full Code Here

    Examples of com.ikanow.infinit.e.harvest.extraction.document.file.InfiniteFile.listFiles()

        }
        // Tests...
        boolean doActions = true;
       
        System.out.println("X.1]: " + new Date(file.getDate()));
        InfiniteFile[] files = file.listFiles();
        System.out.println("X.2]: " + new Date(file.getDate()));
        int i = 0;
        for (InfiniteFile subFile: files) {
          if (null == subFile) break;
          if (i >= 10) break;
    View Full Code Here

    Examples of com.ikanow.infinit.e.harvest.extraction.document.file.InternalInfiniteFile.listFiles()

          InternalInfiniteFile test1 = new InternalInfiniteFile(url, auth);
         
          System.out.println("1.1: " + test1.toString());
         
          //1.2] list files
          InfiniteFile[] test1_2_files = test1.listFiles();
          System.out.println("1.2: LISTED="+test1_2_files.length);
          for (InfiniteFile test1_2_file: test1_2_files) {
            // 1.2.1] child file metadata
            System.out.println("1.2: test1_2_file=" + new Date(test1_2_file.getDate()) + " | " + test1_2_file.getName() +
                " | " + test1_2_file.getUrlPath() + " | " + test1_2_file.getUrlString() + " | " + test1_2_file.getURI().toString());
    View Full Code Here

    Examples of com.sleepycat.je.log.FileManager.listFiles()

            throws LogVerificationException, IOException {

            final FileManager fileManager = envImpl.getFileManager();
            final File homeDir = envImpl.getEnvironmentHome();
            final String[] fileNames =
                fileManager.listFiles(startFile, endFile - 1);
            final byte[] buf = new byte[readBufferSize];

            for (String fileName : fileNames) {
                final File file = new File(homeDir, fileName);
                final FileInputStream fis = new FileInputStream(file);
    View Full Code Here

    Examples of com.sun.star.wizards.common.FileAccess.listFiles()

               
            String workPath = getSettings().workPath;
            FileAccess fa = new FileAccess(xmsf);
            String stylesheetPath = fa.getURL(getSettings().workPath,"layouts/"+ cp_FSName);
               
            String[] files  = fa.listFiles(stylesheetPath,false);
           
            for (int i = 0; i<files.length; i++)
                if (FileAccess.getExtension(files[i]).equals("xsl"))
                    templates.put(FileAccess.getFilename(files[i]), tf.newTemplates( new StreamSource(files[i]) ));
           
    View Full Code Here

    Examples of com.xebialabs.overthere.OverthereFile.listFiles()

        @Test
        @Assumption(methods = "onWindows")
        public void shouldListFilesOnWindows() {
            OverthereFile folder = connection.getFile("C:\\overthere");
            List<OverthereFile> filesInFolder = folder.listFiles();

            OverthereFile expectedFile = connection.getFile("C:\\overthere\\temp");
            assertThat(filesInFolder.contains(expectedFile), equalTo(true));
        }
    View Full Code Here

    Examples of de.schlichtherle.io.File.listFiles()

            }
        }
       
        public void doCleanup() {
            File file = new File(_cachePath);
            java.io.File[] zips = file.listFiles(new FilenameFilter() {
                public boolean accept(java.io.File dir, String name) {
                    return name.endsWith(".zip"); //$NON-NLS-1$
                }
            });
            if(zips != null) {
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.