All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gw.fs.AdditionalDirectory Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
package gw.fs;

/*
 * Copyright 2014 Guidewire Software, Inc.
 */


import java.util.ArrayList;
import java.util.List;

/**
 */
public class AdditionalDirectory extends DelegateDirectory {

  public AdditionalDirectory( IDirectory delegate ) {
    super( delegate );
  }

  @Override
  public List listDirs() {
    List result = new ArrayList();
    for (IDirectory dir : getDelegate().listDirs()) {
      result.add(new AdditionalDirectory(dir));
    }
    return result;
  }

  @Override
  public boolean isAdditional() {
    return true;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy