private static MountConfig getMountConfig ( MountOption [ ] mountOptions ) { final MountConfig config = new MountConfig ( ) ; for ( MountOption option : mountOptions ) { option . applyTo ( config ) ; } return config ; }
Creates a MountConfig and applies the provided mount options