Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,290 for New (0.18 sec)

  1. src/test/java/jcifs/tests/EnumTest.java

                try ( SmbFile a = new SmbFile(f, "a.txt");
                      SmbFile b = new SmbFile(f, "b.txt");
                      SmbFile c = new SmbFile(f, "c.bar") ) {
    
                    a.createNewFile();
                    b.createNewFile();
                    c.createNewFile();
    
                    SmbFile[] files = f.listFiles(new DosFileFilter("*.txt", -1));
                    assertNotNull(files);
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

                if ( mechanismListMIC != null ) {
                    fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC)));
                }
    
                ASN1EncodableVector ev = new ASN1EncodableVector();
                ev.add(SPNEGO_OID);
                ev.add(new DERTaggedObject(true, 0, new DERSequence(fields)));
                ByteArrayOutputStream collector = new ByteArrayOutputStream();
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                MsrpcShareEnum rpc = new MsrpcShareEnum(loc.getServer());
                handle.sendrecv(rpc);
                if ( rpc.retval != 0 ) {
                    throw new SmbException(rpc.retval, true);
                }
                return rpc.getEntries();
            }
        }
    
    
        static FileEntry[] doNetShareEnum ( SmbTreeHandleImpl th ) throws CIFSException {
            SmbComTransaction req = new NetShareEnum(th.getConfig());
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
                } catch (final Exception e) {
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            Map<String, String> andParams = new HashMap<>();
            andParams.put("q", query.replace("OR", "AND"));
            String andResponse = checkMethodBase(new HashMap<>()).params(andParams).get("/api/v1/documents").asString();
            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
            Map<String, String> params = new HashMap<>();
            params.put("q", query);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (1)
  6. src/main/java/jcifs/spnego/NegTokenTarg.java

                    fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC)));
                }
                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                } catch (final Exception e) {
                    throw new PluginException("Failed to install the artifact " + artifact.getName(), e);
                }
            } else {
                try (final InputStream in = new FileInputStream(url)) {
                    CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile());
                } catch (final Exception e) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Map<String, Object> doc = new HashMap<>();
            doc.put("key1", new String[] { "aaa", "bbb" });
            assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class));
            assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class));
        }
    
        public void test_list() {
            Map<String, Object> doc = new HashMap<>();
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String ERRORS_crud_invalid_mode = "{errors.crud_invalid_mode}";
    
        /** The key of the message: Failed to create a new data. */
        public static final String ERRORS_crud_failed_to_create_instance = "{errors.crud_failed_to_create_instance}";
    
        /** The key of the message: Failed to create a new data. ({0}) */
        public static final String ERRORS_crud_failed_to_create_crud_table = "{errors.crud_failed_to_create_crud_table}";
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/context/BaseContext.java

            this.config = config;
            this.dfs = new DfsImpl(this);
            this.sidResolver = new SIDCacheImpl(this);
            this.urlHandler = new Handler(this);
            this.nameServiceClient = new NameServiceClientImpl(this);
            this.bufferCache = new BufferCacheImpl(this.config);
            this.transportPool = new SmbTransportPoolImpl();
            String defUser = config.getDefaultUsername();
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Nov 27 18:25:00 GMT 2022
    - 5.3K bytes
    - Viewed (0)
Back to top