Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for getBundle (0.25 sec)

  1. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         *            リソースバンドの名前。{@literal null}や空文字列であってはいけません
         * @return {@link ResourceBundle}
         * @see ResourceBundle#getBundle(String)
         */
        public static final ResourceBundle getBundle(final String name) {
            assertArgumentNotEmpty("name", name);
    
            try {
                return ResourceBundle.getBundle(name);
            } catch (final MissingResourceException ignore) {
                return null;
            }
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null, this.getClass().getClassLoader());
            assertThat(bundle, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetString() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages");
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

            final Collection<String> values = queryMap.values();
            if (values.stream().anyMatch(s -> s.startsWith(filetypeField))) {
                final ResourceBundle resources = ResourceBundle.getBundle("fess_label", Locale.ENGLISH);
                final String[] fileTypes = ComponentUtil.getFileTypeHelper().getTypes();
                for (final String fileType : fileTypes) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/message/MessageFormatter.java

         * @return リソースバンドル
         */
        protected static ResourceBundle getResourceBundle(final String systemName) {
            if (!initialized) {
                initialize();
            }
            return ResourceBundleUtil.getBundle(systemName + MESSAGES, LocaleUtil.getDefault());
        }
    
        /**
         * パターンを使用しないで引数を並べたメッセージを返します。
         *
         * @param args
         *            引数
         * @return 引数を並べたメッセージ
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

    
        /**
         * 
         */
        private SmbEnumerationUtil () {}
    
    
        private static DcerpcHandle getHandle ( CIFSContext ctx, SmbResourceLocator loc, Address address, String ep )
                throws MalformedURLException, DcerpcException {
            return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()), ctx);
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PipeTest.java

        }
    
    
        @Test
        public void testSRVS () throws DcerpcException, IOException {
            try ( DcerpcHandle handle = DcerpcHandle
                    .getHandle("ncacn_np:" + getTestServer() + "[\\PIPE\\srvsvc]", withTestNTLMCredentials(getContext())) ) {
                MsrpcShareEnum rpc = new MsrpcShareEnum(handle.getServerWithDfs());
                handle.sendrecv(rpc);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SIDCacheImpl.java

        }
    
    
        void resolveSids0 ( String authorityServerName, CIFSContext tc, jcifs.SID[] sids ) throws CIFSException {
            synchronized ( this.sidCache ) {
                try ( DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\lsarpc]", tc) ) {
                    String server = authorityServerName;
                    int dot = server.indexOf('.');
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * @return a DCERPC handle for the given url
         * @throws MalformedURLException
         * @throws DcerpcException
         */
        public static DcerpcHandle getHandle ( String url, CIFSContext tc ) throws MalformedURLException, DcerpcException {
            return getHandle(url, tc, false);
        }
    
    
        /**
         * Get a handle to a service
         * 
         * @param url
         * @param tc
         * @param unshared
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeOutputStream.java

        protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            return this.handle.ensureOpen();
        }
    
    
        /**
         * @return the handle
         */
        protected SmbPipeHandleImpl getHandle () {
            return this.handle;
        }
    
    
        @Override
        public void close () {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

                    SID[] sids) throws IOException {
            DcerpcHandle handle = null;
            LsaPolicyHandle policyHandle = null;
    
    synchronized (sid_cache) {
            try {
                handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName +
                        "[\\PIPE\\lsarpc]", auth);
                String server = authorityServerName;
                int dot = server.indexOf('.');
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
Back to top