📄 passworddecoder.java
字号:
/*
DBPool - JDBC Connection Pool Manager
Copyright (c) Giles Winstanley
*/
package snaq.db;
import java.sql.*;
/**
* Interface for decoding database passwords.
* This interface can be implemented by a class in order to provide custom
* database password decoding. To use the custom decoder class make
* sure you call the <tt>setPasswordDecoder</tt> method in either the
* <tt>ConnectionPool</tt> object or the <tt>ConnectionPoolManager</tt>
* in your code (or use the properties file version with the pool manager).
* @author Giles Winstanley
*/
public interface PasswordDecoder
{
char[] decode(String encoded);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -