private Channel parseChannel ( )
    {
        Channel chan = new Channel ( );
        for ( int i = 0; i < container.length; i++ )
        {
            // out integer output ;
            container[i] = container[i].replaceAll ( "[\\{\\(;]", "" );
            
            if ( "out".equals ( container[i] )
                    || "in".equals ( container[i] ) )
            {
                chan.setDirection ( container[i] );
            }
            if ( !"".equals ( container[i] ) && (i == 1) )
            {
                chan.setType ( container[i] );
            }
            if ( !"".equals ( container[i] ) && (i == 2) )
            {
                chan.setName ( container[i] );
            }
        }
        return chan;
    }