serverconfiguration.java
来自「db4o db4o是一个嵌入式的开源对象数据库引擎.对于Java与.NET开发者」· Java 代码 · 共 35 行
JAVA
35 行
package com.db4o.f1.chapter5;
/**
* Configuration used for {@link StartServer} and {@link StopServer}.
*/
public interface ServerConfiguration {
/**
* the host to be used.
* <br>If you want to run the client server examples on two computers,
* enter the computer name of the one that you want to use as server.
*/
public String HOST = "localhost";
/**
* the database file to be used by the server.
*/
public String FILE = "formula1.yap";
/**
* the port to be used by the server.
*/
public int PORT = 4488;
/**
* the user name for access control.
*/
public String USER = "db4o";
/**
* the pasword for access control.
*/
public String PASS = "db4o";
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?