代码搜索:Directory
找到约 10,000 项符合「Directory」的源代码
代码结果 10,000
www.eeworm.com/read/127767/14336210
txt e493. registering for namespace changes in the directory.txt
This example registers with the directory to receive notification when changes are made to the namespace.
try {
// Get event context for registering listener
EventContext ctx =
www.eeworm.com/read/127767/14336830
txt e019. determining if a file or directory exists.txt
boolean exists = (new File("filename")).exists();
if (exists) {
// File or directory exists
} else {
// File or directory does not exist
}
www.eeworm.com/read/127767/14337041
txt e028. getting the current working directory.txt
The working directory is the location in the file system from where the java command was invoked.
String curDir = System.getProperty("user.dir");
www.eeworm.com/read/127767/14337058
txt e494. registering for object changes in the directory.txt
This example registers with the directory to receive notification when changes are made to objects that have certain attributes.
try {
// Get event context for registering listener
www.eeworm.com/read/127767/14337200
txt e031. listing the files or subdirectories in a directory.txt
This example lists the files and subdirectories in a directory. To list all descendant files and subdirectories under a directory, see e33 Traversing the Files and Directories Under a Directory.
www.eeworm.com/read/127767/14337481
txt e486. performing a basic directory search.txt
This example searches the directory for objects that have certain specified attributes.
try {
// Specify the ids of the attributes to return
String[] attrIDs = {"sn", "telephon
www.eeworm.com/read/127767/14337527
txt e485. adding a binding with attributes to the directory.txt
This example adds a name-to-object binding along with attributes to the directory.
try {
// Create attributes to be associated with the new entry
Attributes attrs = new BasicAt
www.eeworm.com/read/127767/14337870
txt e481. creating an initial context to a directory.txt
This example uses the JNDI/LDAP service provider to connect to an LDAP server on the local machine.
String url = "ldap://localhost/o=JNDITutorial";
Hashtable env = new Hashtable();
env
www.eeworm.com/read/213039/4931618
vcp service_configurator_ipc_client_remote_service_directory.vcp
# Microsoft eMbedded Visual Tools Project File - Name="Service_Configurator_IPC_Client_Remote_Service_Directory" - Package Owner=
# Microsoft eMbedded Visual Tools Generated Build File, Format Ver
www.eeworm.com/read/213039/4931623