Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for Encoding (0.23 sec)

  1. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            assertFileExistence(dir, filename, true);
    
            File file = new File(dir, filename);
    
            String contents = FileUtils.fileRead(file, encoding);
    
            assertEquals(contentsTest, contents);
        }
    
        public File createFile(File dir, String filename, String contents, String encoding) throws IOException {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

         * @param path
         *            パス。{@literal null}や空文字列であってはいけません
         * @param encoding
         *            エンコーディング。{@literal null}や空文字列であってはいけません
         * @return 読み込んだテキスト
         */
        public static String readText(final String path, final String encoding) {
            assertArgumentNotEmpty("path", path);
            assertArgumentNotEmpty("encoding", encoding);
    
            final URL url = ResourceUtil.getResource(path);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/SystemUtil.java

    /**
     * システムプロパティ用のユーティリティクラスです。
     *
     * @author wyukawa
     * @author shinsuke
     *
     */
    public abstract class SystemUtil {
    
        /**
         * <code>file.encoding</code>システムプロパティ。例:UTF-8
         */
        public static final String FILE_ENCODING = System.getProperty("file.encoding");
    
        /**
         * <code>line.separator</code> システムプロパティ。例えばMac OS Xなら
         * <code>&quot;\n&quot;</code>
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/BaseApiManager.java

        protected void write(final String text, final String contentType, final String encoding) {
            final StringBuilder buf = new StringBuilder(50);
            if (contentType == null) {
                buf.append("text/plain");
            } else {
                buf.append(contentType);
            }
            buf.append("; charset=");
            final String enc;
            if (encoding == null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ReaderUtil.java

         *            入力ストリーム。{@literal null}であってはいけません
         * @param encoding
         *            入力ストリームのエンコーディング。{@literal null}や空文字列であってはいけません
         * @return ファイルかへ出力する{@link Reader}
         */
        public static InputStreamReader create(final InputStream is, final String encoding) {
            assertArgumentNotNull("is", is);
            assertArgumentNotEmpty("encoding", encoding);
    
            try {
                return new InputStreamReader(is, encoding);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ReaderInputStream.java

       */
      private CharBuffer charBuffer;
    
      /**
       * byteBuffer holds encoded characters that have not yet been sent to the caller of the input
       * stream. When encoding it is "unflipped" (encoded bytes between 0 and position) and when
       * draining it is flipped (undrained bytes between position and limit).
       */
      private ByteBuffer byteBuffer;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java

        /**
         * The rendered HTML file
         */
        @OutputFile
        public abstract RegularFileProperty getDestinationFile();
    
        /**
         * Encoding of input file
         */
        @Input
        public abstract Property<String> getInputEncoding();
    
        /**
         * Encoding of output file
         */
        @Input
        public abstract Property<String> getOutputEncoding();
    
        @TaskAction
        public void process() {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Funnels.java

          return "Funnels.byteArrayFunnel()";
        }
      }
    
      /**
       * Returns a funnel that extracts the characters from a {@code CharSequence}, a character at a
       * time, without performing any encoding. If you need to use a specific encoding, use {@link
       * Funnels#stringFunnel(Charset)} instead.
       *
       * @since 15.0 (since 11.0 as {@code Funnels.stringFunnel()}.
       */
      public static Funnel<CharSequence> unencodedCharsFunnel() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/Name.java

        private static final String DEFAULT_SCOPE = Config.getProperty( "jcifs.smb1.netbios.scope" );
    
        static final String OEM_ENCODING =
                    Config.getProperty( "jcifs.smb1.encoding",
                            System.getProperty( "file.encoding" ));
    
        public String name, scope;
        public int hexCode;
        int srcHashCode; /* srcHashCode must be set by name resolution
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbConstants.java

         * Files is marked to be archived
         */
        static final int ATTR_ARCHIVE = 0x20;
    
        // extended file attribute encoding(others same as above)
        static final int ATTR_COMPRESSED = 0x800;
        static final int ATTR_NORMAL = 0x080;
        static final int ATTR_TEMPORARY = 0x100;
    
        // access mask encoding
        static final int FILE_READ_DATA = 0x00000001; // 1
        static final int FILE_WRITE_DATA = 0x00000002; // 2
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
Back to top