public StandardDirectoryStream()

in src/main/java/com/pastdev/jsch/nio/file/AbstractSshFileSystemProvider.java [24:37]


        public StandardDirectoryStream( Path parent, String[] entries, Filter<? super Path> filter ) throws IOException {
            if ( entries == null ) {
                accepted = Collections.emptyList();
            }
            else {
                accepted = new ArrayList<Path>();
                for ( String entry : entries ) {
                    Path path = parent.resolve( entry );
                    if ( filter == null || filter.accept( path ) ) {
                        accepted.add( path );
                    }
                }
            }
        }