ensembl-hive  2.5
Bio::EnsEMBL::Hive::Utils::URL Class Reference

Public Member Functions

public parse ()
 
public A hash_to_unambig_url ()
 
public A hash_to_url ()
 
public Void hide_url_password ()
 

Detailed Description

Description

    A Hive-specific URL parser.

Definition at line 11 of file URL.pm.

Member Function Documentation

◆ hash_to_unambig_url()

public A Bio::EnsEMBL::Hive::Utils::URL::hash_to_unambig_url ( )
  Arg [1]     : a hash describing (at least) db connection parameters
  Example     :
my $unambig_url = hash_to_unambig_url( $url_parts_hash );
  Description : Generates a degenerate URL that omits unnecessary parts (password, default port numbers)
              : but tries to uniquely represent a connection.
  Returntype  : a string
 
Code:
click to view

◆ hash_to_url()

public A Bio::EnsEMBL::Hive::Utils::URL::hash_to_url ( )
  Arg [1]     : a hash describing a db connection, or accumulator, as generated by parse_url
  Example     :
my $parse = parse_url($url1); my $url2 = hash_to_url($parse);
  Description : Generates a "new-style" URL from a hash containing the parse of a URL
              : (old or new style). In cases where a trailing slash is optional, it leaves
              : off the trailing slash
  Returntype  : a URL as a string
 
Code:
click to view

◆ hide_url_password()

public Void Bio::EnsEMBL::Hive::Utils::URL::hide_url_password ( )
  Description : Check the command-line for -url or -pipeline_url in order to
                replace the password with an environment variable and then
                exec on the new arguments (in which case the function doesn't
                return)
  Returntype  : void or no return
 
Code:
click to view

◆ parse()

public Bio::EnsEMBL::Hive::Utils::URL::parse ( )

Undocumented method

Code:
click to view

The documentation for this class was generated from the following file: