
com.threatconnect.sdk.config.URLConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
The ThreatConnect Java SDK. Used to communicate with teh ThreatConnect Threat Intelligence Platform
The newest version!
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.threatconnect.sdk.config;
import com.threatconnect.sdk.conn.ConnectionUtil;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
/**
*
* @author dtineo
*/
public class URLConfiguration {
private final HashMap urlMap = new HashMap<>();
private URLConfiguration() { }
public static URLConfiguration build() throws IOException {
Properties props = ConnectionUtil.loadProperties("/urls.properties");
URLConfiguration cc = new URLConfiguration();
for (Map.Entry
© 2015 - 2025 Weber Informatics LLC | Privacy Policy