Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 56 for getFilename (0.11 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                        Thread commandThread = new Thread(() -> {
                            try {
                                systemRegistry.execute(reader.readLine(
                                        context.cwd.get().getFileName().toString() + " mvnsh> ",
                                        null,
                                        (MaskingCallback) null,
                                        null));
                            } catch (Exception e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        void testDefaultConstructor() {
            assertNotNull(notifyInfo);
            assertEquals(0, notifyInfo.getAction());
            assertNull(notifyInfo.getFileName());
            assertEquals(0, notifyInfo.getNextEntryOffset());
        }
    
        @Test
        @DisplayName("Test constructor with buffer decodes correctly")
        void testConstructorWithBuffer() throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            }
    
            @Override
            public int getFileSize() {
                return (int) fileItem.getSize();
            }
    
            @Override
            public String getFileName() {
                return getBaseFileName(fileItem.getName());
            }
    
            protected String getBaseFileName(final String filePath) {
                final String fileName = new File(filePath).getName();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  4. src/main/java/jcifs/FileNotifyInformation.java

         */
        int getAction();
    
        /**
         * Gets the name of the file affected by the action.
         *
         * @return the file name affected by the action
         */
        String getFileName();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

            return findPreviousVersion(gitWrapper, version)
                .flatMap(earlierVersion -> gitWrapper.listFiles("v" + earlierVersion, "docs/changelog"))
                .map(line -> Path.of(line).getFileName().toString())
                .collect(Collectors.toSet());
        }
    
        /**
         * Find the releases prior to the supplied version. If the supplied version is the very first in a new
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         */
        public byte[] getFileId() {
            return this.fileId;
        }
    
        /**
         * Get the file name
         *
         * @return the fileName
         */
        public String getFileName() {
            return this.fileName;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getSize()
         */
        @Override
        public long getSize() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
            assertEquals(expectedFileIndex, fileBothDirectoryInfo.getFileIndex());
        }
    
        @Test
        @DisplayName("Test getFilename returns correct filename")
        void testGetFilename() throws SMBProtocolDecodingException {
            // Prepare test data
            String expectedFilename = "longfilename.docx";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

         */
        @Override
        public int getFileIndex() {
            return this.fileIndex;
        }
    
        /**
         * Gets the filename.
         *
         * @return the filename
         */
        public String getFilename() {
            return this.filename;
        }
    
        @Override
        public int getAttributes() {
            return this.extFileAttributes;
        }
    
        @Override
        public long createTime() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertArrayEquals(testFileId, response.getFileId());
            }
    
            @Test
            @DisplayName("getFileName should return the file name passed in constructor")
            void testGetFileName() {
                assertEquals(testFileName, response.getFileName());
            }
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat Tests")
        class WriteBytesWireFormatTests {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         * @param encoding the character encoding (currently unused in this method)
         * @return the extracted filename, or empty string if none found
         */
        default String getFileName(final String url, final String encoding) {
            if (StringUtil.isBlank(url)) {
                return StringUtil.EMPTY;
            }
    
            int idx = 0;
            String u = url;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
Back to Top