This function reads and returns the internal and external fax4j properties.

@return  The internal and external fax4j.properties data
979250
public static Properties readInternalAndExternalConfiguration()
    {
        //read properties
        Properties properties=LibraryConfigurationLoader.readInternalConfiguration();

        ClassLoader classLoader=ReflectionHelper.getThreadContextClassLoader();
        InputStream inputStream=classLoader.getResourceAsStream(LibraryConfigurationLoader.CONFIGURATION_FILE_NAME);
        
        if(inputStream!=null)
        {
            LibraryConfigurationLoader.loadProperties(properties,inputStream,false);
        }

        return properties;
    }
430
public Map<String, String> getProperty() {

        if (m_properties == null) {
            try {
                List<CmsProperty> properties = m_cms.readPropertyObjects(this, false);
                m_properties = CmsProperty.toMap(properties);
            } catch (CmsException e) {
                if (LOG.isDebugEnabled()) {
                    LOG.debug(e.getMessage(), e);
                }
            }
        }
        return m_properties;
    }
840293
public Properties getProperties() {
    Properties props = new Properties();
    for(String name : this.users.keySet()) {
      SimpleAccount acct = this.users.get(name);
      props.setProperty(USERNAME_PREFIX + name, acct.getCredentials().toString());
    }
    return props;
  }
75952
public function GetReadOnlyProperties()
    {
        $properties = parent::GetReadOnlyProperties();
        array_push($properties, 'AccessKey');
        array_push($properties, 'PreregistrationData');
        array_push($properties, 'CardRegistrationURL');
        array_push($properties, 'CardId');
        array_push($properties, 'ResultCode');
        array_push($properties, 'ResultMessage');
        array_push($properties, 'Status');
        return $properties;
    }
341965
public Properties getProperties() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "getProperties");
        return this.sslProperties;
    }
69059
public ValueMap getProperties() {
    if (this.properties == null) {
      this.properties = new ValueMapDecorator(new HashMap<String, Object>());
    }
    return this.properties;
  }
578938
protected Properties readMessageRouterProps(Bundle bundle) {
        Properties props = null;

        // Use getEntry to load the file instead of getResource, since
        // getResource will cause the bundle to resolve itself, which 
        // we don't want to do.
        final String mrpFileName = "/META-INF/MessageRouter.properties";
        URL propFile = bundle.getEntry(mrpFileName);

        if (propFile != null) {
            props = new Properties();

            try {
                props.load(propFile.openStream());
            } catch (IOException ioe) {
                // TODO will this FFDC?  NO! what to do?!
            }
        }
        return props;
    }
797421
@Override
    public ArrayList<String> getReadOnlyProperties() {
        
        ArrayList<String> result = super.getReadOnlyProperties();
        
        result.add("Statute");
        result.add("ProofOfRegistration");
        result.add("ShareholderDeclaration");
        
        return result;
    }
26518
public Map<String,Object> getServiceProperties()
    {
        Map<String,Object> properties = super.getServiceProperties();
        properties = addConfigProperty(properties, DBParams.LOCAL, DBParams.JDBC); // Remote Server ALWAYS uses Jdbc
        properties = addConfigProperty(properties, DBParams.REMOTE, DBParams.JDBC);
        properties = addConfigProperty(properties, DBParams.TABLE, DBParams.JDBC);
        properties = addConfigProperty(properties, Params.APP_NAME, Params.DEFAULT_REMOTE_APP);
        properties = addConfigProperty(properties, Params.MESSAGE_SERVER, DBConstants.TRUE);
        properties = addConfigProperty(properties, DBParams.FREEIFDONE, Constants.FALSE);   // Don't free when only the last app is running.
        properties = addConfigProperty(properties, MessageConstants.MESSAGE_FILTER, MessageConstants.TREE_FILTER);  // Default for a server
        return properties;
    }
1078984
public Map<String, Object> getProperties() {
        Map<String, Object> localProps = myProps;
        if (localProps == null) {
            localProps = new HashMap<String, Object>();
            if (config != null && !config.isEmpty()) {
                for (Map.Entry<String, Object> entry : config.entrySet()) {
                    if (entry.getValue() instanceof String) {
                        localProps.put(entry.getKey(), entry.getValue());
                        continue;
                    }
                    if (entry.getValue() instanceof Boolean) {
                        Boolean boolVal = (Boolean) entry.getValue();
                        localProps.put(entry.getKey(), boolVal.toString());
                        continue;
                    }
                    if (entry.getValue() instanceof Integer) {
                        Integer IntVal = (Integer) entry.getValue();
                        localProps.put(entry.getKey(), IntVal.toString());
                        continue;
                    }
                }
            }
            myProps = localProps;
        }
        return localProps;
    }
25332
public GroovyFieldDoc[] properties() {
        Collections.sort(properties);
        return properties.toArray(new GroovyFieldDoc[properties.size()]);
    }
988247
public static Properties getProperties(final InputStream is) throws IOException {
        Properties p = new Properties();

        try {
            if (is != null) {
                p.load(is);

                // Look for "values" and strip the quotes to values
                for (Entry<Object, Object> entry : p.entrySet()) {
                    String s = ((String) entry.getValue()).trim();
                    // If first and last characters are ", strip them off..
                    if (s.length() > 1 && s.startsWith("\"") && s.endsWith("\"")) {
                        entry.setValue(s.substring(1, s.length() - 1));
                    }
                }
            }
        } finally {
            Utils.tryToClose(is);
        }

        return p;
    }
550536
public static Properties getProperties(File propertiesFile) {
        Properties properties = new Properties();
        try (BufferedReader reader =
                new BufferedReader(new FileReader(propertiesFile))) {
            properties.load(reader);
            return properties;
        } catch (Exception e) {
            return JMExceptionManager
                    .handleExceptionAndReturnNull(log, e, "getProperties",
                            propertiesFile);
        }
    }
385371
public Collection<String> getAllProperties() {
		return wrappedSubmit(new Callable<Collection<String>>() {
			@Override
			public Collection<String> call() throws Exception {
				Collection<String> allProperties = new HashSet<String>();
				ObjectMapper mapper = new ObjectMapper();
				List<XmlProperty> xmlproperties = new ArrayList<XmlProperty>();
				try {xmlproperties = mapper.readValue(
										service.path(resourceProperties)
										.accept(MediaType.APPLICATION_JSON)
										.get(String.class)	
									,new TypeReference<List<XmlProperty>>(){});
				} catch (JsonParseException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				} catch (JsonMappingException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				} catch (ClientHandlerException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				for (XmlProperty xmlproperty : xmlproperties) {
					allProperties.add(xmlproperty.getName());
				}
				return allProperties;
			}
		});
	}
620562
private Properties loadProperties() {

        props = new Properties();

        try {
            InputStream in = Version.class.getResourceAsStream("version.properties");
            props.load(in);
            in.close();
        } catch (Exception e) {
            throw new Error("Missing version.properties");
        }

        return props;
    }
997917
public Map getProperties() {
        if (tc.isEntryEnabled())
            SibTr.entry(this, tc, "getProperties");
        if (tc.isEntryEnabled())
            SibTr.exit(this, tc, "getProperties");
        return null;
    }
1167759
public static Map getProperties( JSONObject jsonObject ) {
      Map properties = new HashMap();
      for( Iterator keys = jsonObject.keys(); keys.hasNext(); ){
         String key = (String) keys.next();
         /*
          * String parsedKey = key; if( !JSONUtils.isJavaIdentifier( parsedKey ) ){
          * parsedKey = JSONUtils.convertToJavaIdentifier( key ); }
          */
         properties.put( key, getTypeClass( jsonObject.get( key ) ) );
      }
      return properties;
   }