public String get_Type(int columnIndex) throws SQLException {
    if (!checkConnection) {
      log.info("Error in connection !");
      throw (new SQLException());
    }

    columnIndex--;
    Parser p = new Parser();
    p.setPathParser(url);
    String type = p.getType(tableName, columnIndex, adjList);

    return type;
  }
示例#2
0
  /** TODO doc */
  @Override
  public InputStream getInputStream() throws IOException {
    connect();

    LOG.debug("Resolving [" + url.toExternalForm() + "]");

    return m_aetherBasedResolver.resolve(
        m_parser.getGroup(),
        m_parser.getArtifact(),
        m_parser.getType(),
        m_parser.getVersion(),
        m_parser.getClassifier());
  }