Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for setLocale (0.09 sec)

  1. src/test/java/org/codelibs/core/misc/LocaleUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetLocale() throws Exception {
            assertEquals("1", LocaleUtil.getDefault(), LocaleUtil.getLocale(null));
            assertEquals("2", Locale.JAPANESE, LocaleUtil.getLocale("ja"));
            assertEquals("3", Locale.JAPAN, LocaleUtil.getLocale("ja_JP"));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

            final FessMessages messages = new FessMessages();
            validationMessagesLambda.message(messages);
            return messageManager.toMessageList(request.getLocale() == null ? Locale.ENGLISH : request.getLocale(), messages).stream()
                    .collect(Collectors.joining(" "));
        }
    
        protected boolean isAccessAllowed() {
            return false;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. .teamcity/mvnw.cmd

    if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
    if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd"
    :skipRcPre
    
    @setlocal
    
    set ERROR_CODE=0
    
    @REM To isolate internal variables from possible post scripts, we use another setlocal
    @setlocal
    
    @REM ==== START VALIDATION ====
    if not "%JAVA_HOME%" == "" goto OkJHome
    
    echo.
    echo Error: JAVA_HOME not found in your environment. >&2
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         */
        public static final ResourceBundle getBundle(final String name, final Locale locale) {
            assertArgumentNotEmpty("name", name);
    
            try {
                return ResourceBundle.getBundle(name, getLocale(locale));
            } catch (final MissingResourceException ignore) {
                return null;
            }
        }
    
        /**
         * バンドルを返します。 見つからない場合は、<code>null</code>を返します。
         *
         * @param name
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/main/assemblies/files/fess.bat

    @echo off
    
    SETLOCAL enabledelayedexpansion
    TITLE Fess
    
    SET params='%*'
    
    :loop
    FOR /F "usebackq tokens=1* delims= " %%A IN (!params!) DO (
        SET current=%%A
        SET params='%%B'
    	SET silent=N
    	
    	IF "!current!" == "-s" (
    		SET silent=Y
    	)
    	IF "!current!" == "--silent" (
    		SET silent=Y
    	)	
    	
    	IF "!silent!" == "Y" (
    		SET nopauseonerror=Y
    	) ELSE (
    	    IF "x!newparams!" NEQ "x" (
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun May 24 22:24:52 UTC 2020
    - 796 bytes
    - Viewed (0)
  6. mvnw.cmd

    if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
    :skipRcPre
    
    @setlocal
    
    set ERROR_CODE=0
    
    @REM To isolate internal variables from possible post scripts, we use another setlocal
    @setlocal
    
    @REM ==== START VALIDATION ====
    if not "%JAVA_HOME%" == "" goto OkJHome
    
    echo. >&2
    echo Error: JAVA_HOME not found in your environment. >&2
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. dbflute_fess/manage.bat

    @echo off
    
    setlocal
    %~d0
    cd %~p0
    call _project.bat
    
    :: tilde to remove double quotation
    set FIRST_ARG=%~1
    if "%FIRST_ARG%"=="" set FIRST_ARG=""
    set SECOND_ARG=%2
    if "%SECOND_ARG%"=="" set SECOND_ARG=""
    
    call %DBFLUTE_HOME%\etc\cmd\_df-manage.cmd %MY_PROPERTIES_PATH% "%FIRST_ARG%" %SECOND_ARG%
    
    if "%pause_at_end%"=="y" (
      pause
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 332 bytes
    - Viewed (0)
  8. src/clean.bat

    L1::: Copyright 2012 The Go Authors. All rights reserved.
    L2::: Use of this source code is governed by a BSD-style
    L3::: license that can be found in the LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:set GOBUILDFAIL=0
    L10:
    L11:go tool dist env -w -p >env.bat
    L12:if errorlevel 1 goto fail
    L13:call .\env.bat
    L14:del env.bat
    L15:echo.
    L16:
    L17:if exist %GOTOOLDIR%\dist.exe goto distok
    L18:echo cannot find %GOTOOLDIR%\dist; nothing to clean
    L19:goto fail
    L20::distok
    L21:
    ...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 12 16:59:17 UTC 2022
    - 600 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/LabelType.java

        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
        public Locale getLocale() {
            if (locale == null) {
                if (getValue() == null) {
                    return Locale.ROOT;
                }
                locale = ComponentUtil.getFessConfig().getQueryLocaleFromName(getValue());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/all.bat

    if...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Apr 19 14:36:22 UTC 2023
    - 543 bytes
    - Viewed (0)
Back to top