⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 geoserverdto.java

📁 电子地图服务器,搭建自己的地图服务
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
     * <p>
     * Description ...
     * </p>
     *
     * @return
     */

    //public Level getLoggingLevel() {
    //	return loggingLevel;
    //}

    /**
     * getMaxFeatures purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @return
     */
    public int getMaxFeatures() {
        return maxFeatures;
    }

    /**
     * getNumDecimals purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @return
     */
    public int getNumDecimals() {
        return numDecimals;
    }

    /**
     * Getter for the {@link #proxyBaseUrl} property
     * @return
     */
    public String getProxyBaseUrl() {
        return proxyBaseUrl;
    }

    /**
     * getSchemaBaseUrl purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @return
     */
    public String getSchemaBaseUrl() {
        return schemaBaseUrl;
    }

    /**
     * isVerbose purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @return
     */
    public boolean isVerbose() {
        return verbose;
    }

    /**
     * setCharSet purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @param charset
     */
    public void setCharSet(Charset charset) {
        if (charset == null) {
            charset = Charset.forName("ISO-8859-1");
        }

        charSet = charset;
    }

    /**
     * setContact purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @param contact
     */
    public void setContact(ContactDTO contact) {
        if (contact == null) {
            contact = new ContactDTO();
        }

        this.contact = contact;
    }

    /**
     * setMaxFeatures purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @param i
     */
    public void setMaxFeatures(int i) {
        maxFeatures = i;
    }

    /**
     * setNumDecimals purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @param i
     */
    public void setNumDecimals(int i) {
        numDecimals = i;
    }

    /**
     * setSchemaBaseUrl purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @param url
     */
    public void setSchemaBaseUrl(String url) {
        schemaBaseUrl = url;
    }

    /**
     * Setter for the {@linkplain #proxyBaseUrl} property
     * @param url
     */
    public void setProxyBaseUrl(String url) {
        proxyBaseUrl = url;
    }

    /**
     * setVerbose purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @param b
     */
    public void setVerbose(boolean b) {
        verbose = b;
    }

    /**
     * getLoggingLevel purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @return
     */
    public String getLog4jConfigFile() {
        return log4jConfigFile;
    }

    /**
     * setLoggingLevel purpose.
     *
     * <p>
     * Description ...
     * </p>
     *
     * @param level
     */
    public void setLog4jConfigFile(String s) {
        log4jConfigFile = s;
    }

    /**
     * Gets the user name of the administrator of GeoServer, for login
     * purposes.
     *
     * @return The administrator's password.
     */
    public String getAdminUserName() {
        return adminUserName;
    }

    /**
     * Sets the user name of the administrator of GeoServer, for login
     * purposes.
     *
     * @param username the String to set as the admin username.
     */
    public void setAdminUserName(String username) {
        this.adminUserName = username;
    }

    /**
     * Gets the password of the administrator of GeoServer, for login purposes.
     *
     * @return The password of the administrator.
     */
    public String getAdminPassword() {
        return adminPassword;
    }

    /**
     * Sets the password of the administrator of GeoServer, for login purposes.
     *
     * @param password The password to set as the login password.
     */
    public void setAdminPassword(String password) {
        this.adminPassword = password;
    }

    /**
     * Should we display stackTraces or not? (And give them a nice little
     * message instead?)
     *
     * @return Returns the showStackTraces.
     */
    public boolean isVerboseExceptions() {
        return verboseExceptions;
    }

    /**
     * If set to true, response exceptions will throw their stack trace back to
     * the end user.
     *
     * @param showStackTraces The showStackTraces to set.
     */
    public void setVerboseExceptions(boolean showStackTraces) {
        this.verboseExceptions = showStackTraces;
    }

    /**
          * Returns the location of where the server ouputs logs. Note that this may
          * not reference an actual physical location on disk.
          * Call {@link GeoServer#getLogLocation(String, ServletContext)} to map this
          * string to a file on disk.
          *
          */
    public String getLogLocation() {
        return logLocation;
    }

    /**
     * @param logLocation The string representation of the path on disk in which
     * the server logs to.
     */
    public void setLogLocation(String logLocation) {
        this.logLocation = logLocation;
    }

    /**
     * @return True if the server is logging to file, otherwise false.
     */
    public boolean getSuppressStdOutLogging() {
        return suppressStdOutLogging;
    }

    /**
     * Toggles server also sending logging stream to stdout via ConsoleLogger.
     */
    public void setSuppressStdOutLogging(boolean b) {
        this.suppressStdOutLogging = b;
    }

    public String toString() {
        StringBuffer dto = new StringBuffer("[GeoServerDTO: \n");
        dto.append("   maxFeatures - " + maxFeatures);
        dto.append("\n   verbose - " + verbose);
        dto.append("\n   numDecimals - " + numDecimals);
        dto.append("\n   charSet - " + charSet);
        dto.append("\n   logLocation - " + logLocation);
        dto.append("\n   adminUserName - " + adminUserName);
        dto.append("\n   adminPassword - " + adminPassword);
        dto.append("\n   contact - " + contact);

        return dto.toString();
    }

    public double getJaiMemoryCapacity() {
        return jaiMemoryCapacity;
    }

    public void setJaiMemoryCapacity(double jaiMemoryCapacity) {
        this.jaiMemoryCapacity = jaiMemoryCapacity;
    }

    public Boolean getJaiRecycling() {
        return jaiRecycling;
    }

    public void setJaiRecycling(Boolean jaiRecycling) {
        this.jaiRecycling = jaiRecycling;
    }

    public Boolean getJaiJPEGNative() {
        return jaiJPEGNative;
    }

    public void setJaiJPEGNative(Boolean jaiJPEGNative) {
        this.jaiJPEGNative = jaiJPEGNative;
    }

    public Boolean getJaiPNGNative() {
        return jaiPNGNative;
    }

    public void setJaiPNGNative(Boolean jaiPNGNative) {
        this.jaiPNGNative = jaiPNGNative;
    }

    public double getJaiMemoryThreshold() {
        return jaiMemoryThreshold;
    }

    public void setJaiMemoryThreshold(double jaiMemoryThreshold) {
        this.jaiMemoryThreshold = jaiMemoryThreshold;
    }

    /**
     * @return Returns the imageIOCache.
     */
    public Boolean getImageIOCache() {
        return imageIOCache;
    }

    /**
     * @param imageIOCache The imageIOCache to set.
     */
    public void setImageIOCache(Boolean imageIOCache) {
        this.imageIOCache = imageIOCache;
    }

    public int getJaiTilePriority() {
        return jaiTilePriority;
    }

    public void setJaiTilePriority(int jaiTilePriority) {
        this.jaiTilePriority = jaiTilePriority;
    }

    public int getJaiTileThreads() {
        return jaiTileThreads;
    }

    public void setJaiTileThreads(int jaiTileThreads) {
        this.jaiTileThreads = jaiTileThreads;
    }

    /**
     * tile cache parameter
     * @see GeoServer#getTileCache()
     */
    public String getTileCache() {
        return tileCache;
    }

    public void setTileCache(String tileCache) {
        this.tileCache = tileCache;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -