📄 hostauthorizationrules.java
字号:
/* * Copyright (c) 2003, The Regents of the University of California, through * Lawrence Berkeley National Laboratory (subject to receipt of any required * approvals from the U.S. Dept. of Energy). All rights reserved. */package gov.lbl.dsd.sea.nio.auth;import java.net.InetAddress;/** * Interface for authorization rules used by {@link SmartHostAuthorizer}. * * @author whoschek@lbl.gov * @author $Author: hoschek3 $ * @version $Revision: 1.1 $, $Date: 2004/06/17 05:39:00 $ */public interface HostAuthorizationRules { /** * Returns whether or not the given host (aka InetAddress) matches ANY of * the current rules. * * @return true if at least one rule matches; false otherwise */ public boolean isMatch(InetAddress address);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -