src/main/java/org/g_node/nix/Block.java
/**
     * Create a new root source.
     *
     * @param name The name of the source to create.
     * @param type The type of the source.
     * @return The created source object.
     * @see Source
     */
Create a new root source.
@param name The name of the source to create.
@param type The type of the source.
@return The created source object.
@see Source
Create a new root source . @param name The name of the source to create . @param type The type of the source . @return The created source object . @see Source
public Source createSource(String name, String type) {
        Source source = makeSource(name, type);
        if (source.isNone()) {
            source = null;
        }
        return source;
    }
public Source createSource ( String name , String type ) { Source source = makeSource ( name , type ) ; if ( source . isNone ( ) ) { source = null ; } return source ; }
Create a new root source.
Create a new root source .